|
@@ -701,10 +701,13 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service |
|
|
|
|
|
|
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
var input= "{\"qrCode\":\""+ qrCode+"\"}"; |
|
|
|
|
|
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>(); |
|
|
Dictionary<string, string> dic = new Dictionary<string, string>(); |
|
|
dic.Add("GroupId", CurrentUser.TenantId); |
|
|
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); |
|
|
var data = JsonConvert.DeserializeObject<ResultSAASManageDto<DiningPlateInfoDto>>(jsonData); |
|
|
|
|
|
|
|
|
if (data.statusCode != 200) |
|
|
if (data.statusCode != 200) |
|
|