Ver código fonte

提交

master
gwbvipvip 9 meses atrás
pai
commit
25fe056126
1 arquivos alterados com 5 adições e 2 exclusões
  1. +5
    -2
      BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs

+ 5
- 2
BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs Ver arquivo

@@ -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)


Carregando…
Cancelar
Salvar