diff --git a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs index 6039075..675297e 100644 --- a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs +++ b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs @@ -701,10 +701,13 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service try { + + var input= "{\"qrCode\":\""+ qrCode+"\"}"; + Dictionary dic = new Dictionary(); 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>(jsonData); if (data.statusCode != 200)