From c684145e91b9b0dacf91512073731411e9164fac Mon Sep 17 00:00:00 2001 From: berlin-tzen Date: Tue, 14 Mar 2023 14:33:32 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E6=9B=B4=E6=94=B9BookingOnline=20?= =?UTF-8?q?=E6=9F=A5=E8=A9=A2=E9=A1=9E=E5=88=A5=E5=88=97=E8=A1=A8=20API?= =?UTF-8?q?=E5=90=8D=E7=A8=B1=E8=88=87=E5=8F=83=E6=95=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EuroTran/EasyBL.WEBAPP/ShowEasy/BookingOnlineService.cs | 6 +++--- EuroTran/WebApp/Controllers/BookingOnlineController.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingOnlineService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingOnlineService.cs index 1c0f519..ac17bc4 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingOnlineService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingOnlineService.cs @@ -31,7 +31,7 @@ namespace EasyBL.WEBAPP.SYS /// /// /// - public HttpResponseMessage GetBookingCategory(string Account, string LangType) + public HttpResponseMessage GetBookingCategory(string Account, string Lang) { SuccessResponseMessage srm = null; string sError = null; @@ -48,11 +48,11 @@ namespace EasyBL.WEBAPP.SYS //取所有category ServiceSubCategoryMaintain_QryService serviceSub_qry = new ServiceSubCategoryMaintain_QryService(); - var subCategory = serviceSub_qry.FindAllByIDsAsDictionary("", LangType); + var subCategory = serviceSub_qry.FindAllByIDsAsDictionary("", Lang); //取得所有OnSiteService ONSiteMaintain_QryService onSiteService_qry = new ONSiteMaintain_QryService(); - var allService = onSiteService_qry.FindAllByIDsAsDictionary(LangType, ""); + var allService = onSiteService_qry.FindAllByIDsAsDictionary(Lang, ""); var ServiceIDSet = new HashSet(); //去重複值 var CategoryDic = new Dictionary(); diff --git a/EuroTran/WebApp/Controllers/BookingOnlineController.cs b/EuroTran/WebApp/Controllers/BookingOnlineController.cs index a2e797d..1bada46 100644 --- a/EuroTran/WebApp/Controllers/BookingOnlineController.cs +++ b/EuroTran/WebApp/Controllers/BookingOnlineController.cs @@ -31,12 +31,12 @@ namespace WebApp.Controllers [HttpGet] [SEApiSecurityFilter] - public HttpResponseMessage GetBookingCategory(string LangType) + public HttpResponseMessage BookingCategoryList(string Lang) { var SEToken = SETokenUtil.GetToken(this.Request); - return new BookingOnlineService().GetBookingCategory(SEToken.Account, LangType); + return new BookingOnlineService().GetBookingCategory(SEToken.Account, Lang); } ///