Browse Source

提交

master
gwbvipvip 9 months ago
parent
commit
25fe056126
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs

+ 5
- 2
BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs View File

@@ -701,10 +701,13 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service
try
{

var input= "{\"qrCode\":\""+ qrCode+"\"}";

Dictionary<string, string> dic = new Dictionary<string, string>();
dic.Add("GroupId", CurrentUser.TenantId);
var url = App.Configuration["GroupMealUrl"] + "api/DiningPlate/GetDiningPlateInfoByQRCode?qrCode="+ qrCode;
var jsonData = HttpHelper.PostData(url, "",Encoding.UTF8,"application/json", dic);
var url = App.Configuration["GroupMealUrl"] + "api/DiningPlate/GetDiningPlateInfoByQRCode";
var jsonData = HttpHelper.PostData(url, input, Encoding.UTF8,"application/json", dic);
var data = JsonConvert.DeserializeObject<ResultSAASManageDto<DiningPlateInfoDto>>(jsonData);

if (data.statusCode != 200)


Loading…
Cancel
Save