From 75f828f11c3857a9ea1da65a945545563477b09e Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Fri, 19 Apr 2024 14:23:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/CheckService/Services/CheckServices.cs | 2 +- .../Service/WeighOrder/Service/WeighOrderService.cs | 2 +- BPA.KitChen.GroupMealOrder/Properties/launchSettings.json | 2 +- BPA.KitChen.GroupMealOrder/appsettings.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BPA.KitChen.GroupMealOrder.Application/Service/AExternalPlatform/Service/CheckService/Services/CheckServices.cs b/BPA.KitChen.GroupMealOrder.Application/Service/AExternalPlatform/Service/CheckService/Services/CheckServices.cs index 75ee515..a5a6693 100644 --- a/BPA.KitChen.GroupMealOrder.Application/Service/AExternalPlatform/Service/CheckService/Services/CheckServices.cs +++ b/BPA.KitChen.GroupMealOrder.Application/Service/AExternalPlatform/Service/CheckService/Services/CheckServices.cs @@ -85,7 +85,7 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.AExternalPlatform.Servi try { Dictionary dic = new Dictionary(); - var url = App.Configuration["GroupMealBaseUrl"] + "api/authorization/GetCompanyById?id=" + tenantId; + var url = App.Configuration["GroupMealBaseUrl"] + "api/authorization/GetCompanyByIdNew?id=" + tenantId; var jsonData = HttpHelper.HttpGet(url, null, dic, "application/json"); var data = JsonConvert.DeserializeObject>(jsonData); if (data.statusCode != 200) throw Oops.Oh(ErrorCodeEnum.Code10016); diff --git a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs index 929b725..6db03c5 100644 --- a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs +++ b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs @@ -411,7 +411,7 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service if (result == null) { - throw Oops.Oh("订单不存在或者已完成"); + throw Oops.Oh("请打开小程序扫描二维码"); } //查询订单商品 diff --git a/BPA.KitChen.GroupMealOrder/Properties/launchSettings.json b/BPA.KitChen.GroupMealOrder/Properties/launchSettings.json index b924d70..00421c1 100644 --- a/BPA.KitChen.GroupMealOrder/Properties/launchSettings.json +++ b/BPA.KitChen.GroupMealOrder/Properties/launchSettings.json @@ -8,7 +8,7 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "dotnetRunMessages": true, - "applicationUrl": "http://localhost:5003" + "applicationUrl": "http://192.168.1.50:5003" }, "IIS Express": { "commandName": "IISExpress", diff --git a/BPA.KitChen.GroupMealOrder/appsettings.json b/BPA.KitChen.GroupMealOrder/appsettings.json index b3635aa..506dd08 100644 --- a/BPA.KitChen.GroupMealOrder/appsettings.json +++ b/BPA.KitChen.GroupMealOrder/appsettings.json @@ -5,9 +5,9 @@ "Microsoft.AspNetCore": "Warning" } }, - "SAAS_Manage": "http://10.2.1.26:21995/saasbase/", - "GroupMealBaseUrl": "http://localhost:5001/", - "GroupMealUrl": "http://localhost:5002/", + "SAAS_Manage": "http://192.168.1.50:5001/", + "GroupMealBaseUrl": "http://192.168.1.50:5001/", + "GroupMealUrl": "http://192.168.1.50:5002/", "DomainName": "https://bpa.black-pa.com:21995/order/", "DBConnectionStr": "server=10.2.1.21;Port=3306;Database=bpa_kitchen_groupmealorder;Uid=root;Pwd=cygadmin;", "DBConnectionLogStr": "server=10.2.1.21;Port=3306;Database=bpa_kitchen_groupmeallog;Uid=root;Pwd=cygadmin;",