Browse Source

下單公司訂單api修改

Dev
alina 2 years ago
parent
commit
ae4e681edc
  1. 6
      EuroTran/WebApp/Controllers/OnsiteController.cs

6
EuroTran/WebApp/Controllers/OnsiteController.cs

@ -175,15 +175,15 @@ namespace WebApp.Controllers
[SEApiSecurityFilter]
public HttpResponseMessage Company([FromBody] SETB_CRM_Company Company)
{
var SEToken = SETokenUtil.GetToken(this.Request);
var SEToken = SETokenUtil.GetToken(this.Request);
Company.Account = SEToken.Account;
return new CompanyService().SaveCompany(Company);
return new OnsiteService().SaveCompany(Company);
}
//預約信息
[HttpPost]
[SEApiSecurityFilter]
[SEApiSecurityFilter]
public HttpResponseMessage Booking([FromBody] BookingOrderDTO Booking)
{
var SEToken = SETokenUtil.GetToken(this.Request);

Loading…
Cancel
Save