Commit 903fd819 authored by solho's avatar solho

fix:連線定義統一取 DefaultConnection

parent 37decfa6
...@@ -22,7 +22,7 @@ namespace WebAPI.Controllers ...@@ -22,7 +22,7 @@ namespace WebAPI.Controllers
{ {
result = new HttpResponseMessage(HttpStatusCode.OK); result = new HttpResponseMessage(HttpStatusCode.OK);
response = new CommonResponseMsg(); response = new CommonResponseMsg();
connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString; connString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
} }
[Route("Get_CustomerListTP")] [Route("Get_CustomerListTP")]
[CorsHandle] [CorsHandle]
......
...@@ -35,7 +35,7 @@ namespace WebAPI.Controllers ...@@ -35,7 +35,7 @@ namespace WebAPI.Controllers
if (Outmsg == null) Outmsg = new MessageList_ETF(); if (Outmsg == null) Outmsg = new MessageList_ETF();
result = new HttpResponseMessage(HttpStatusCode.OK); result = new HttpResponseMessage(HttpStatusCode.OK);
response = new CommonResponseMsg(); response = new CommonResponseMsg();
connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString; connString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
} }
/// <summary> /// <summary>
......
...@@ -26,7 +26,7 @@ namespace WebAPI.Controllers ...@@ -26,7 +26,7 @@ namespace WebAPI.Controllers
{ {
result = new HttpResponseMessage(HttpStatusCode.OK); result = new HttpResponseMessage(HttpStatusCode.OK);
response = new CommonResponseMsg(); response = new CommonResponseMsg();
connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString; connString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
} }
/// <summary> /// <summary>
/// 取得歷史明細 /// 取得歷史明細
......
...@@ -23,7 +23,7 @@ namespace WebAPI.Controllers ...@@ -23,7 +23,7 @@ namespace WebAPI.Controllers
{ {
result = new HttpResponseMessage(HttpStatusCode.OK); result = new HttpResponseMessage(HttpStatusCode.OK);
response = new CommonResponseMsg(); response = new CommonResponseMsg();
connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString; connString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
} }
/// <summary> /// <summary>
/// 取得關帳最早日期 /// 取得關帳最早日期
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment