Browse Source

[WHAT] CommonService文件改名,因程式中已經存在

[WHY] FEATURE
[HOW]
Dev
alina 2 years ago
parent
commit
46e8db33cb
  1. 2
      EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj
  2. 2
      EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs
  3. 2
      EuroTran/EasyBL.WEBAPP/ShowEasy/SECommonService.cs
  4. 6
      EuroTran/WebApp/Controllers/CommonController.cs

2
EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj

@ -116,7 +116,7 @@
<Compile Include="ShowEasy\LanguageMaintain_UpdService.cs" />
<Compile Include="ShowEasy\LanguageMaintain_QryService.cs" />
<Compile Include="ShowEasy\BookingService.cs" />
<Compile Include="ShowEasy\CommonService.cs" />
<Compile Include="ShowEasy\SECommonService.cs" />
<Compile Include="ShowEasy\ServiceMaintain_QryService.cs" />
<Compile Include="ShowEasy\ServiceMaintain_UpdService.cs" />
<Compile Include="ShowEasy\SurveyMaintain_UpdService.cs" />

2
EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs

@ -103,7 +103,7 @@ namespace EasyBL.WEBAPP.SYS
try
{
var c = HttpContext.Current;
CommonService commonService = new CommonService();
SECommonService commonService = new SECommonService();
// 文件上傳
HttpResponseMessage ret = commonService.Upload(c);
if (ret.StatusCode== HttpStatusCode.OK)

2
EuroTran/EasyBL.WEBAPP/ShowEasy/CommonService.cs → EuroTran/EasyBL.WEBAPP/ShowEasy/SECommonService.cs

@ -17,7 +17,7 @@ using System.Web;
namespace EasyBL.WEBAPP.SYS
{
public class CommonService : ServiceBase
public class SECommonService : ServiceBase
{
#region 查詢城市下拉選單數據
/// <summary>

6
EuroTran/WebApp/Controllers/CommonController.cs

@ -22,7 +22,7 @@ namespace WebApp.Controllers
[HttpGet]
public HttpResponseMessage GetAllCity()
{
return new CommonService().GetAllCity();
return new SECommonService().GetAllCity();
}
/// <summary>
@ -33,7 +33,7 @@ namespace WebApp.Controllers
[HttpGet]
public HttpResponseMessage GetArgumentClassList(string argumentClassID)
{
return new CommonService().GetArgumentClassList(argumentClassID);
return new SECommonService().GetArgumentClassList(argumentClassID);
}
/// <summary>
@ -45,7 +45,7 @@ namespace WebApp.Controllers
public HttpResponseMessage UploadFiles()
{
var c = HttpContext.Current;
return new CommonService().Upload(c);
return new SECommonService().Upload(c);
}
}
}
|||||||
100:0
Loading…
Cancel
Save