| | |
| | | } |
| | | var wmsIpAddress = wmsBase + ipAddress; |
| | | |
| | | var result = HttpsClient.PostAsync(wmsIpAddress, inputJson).Result; |
| | | content.OK(data: result); |
| | | var result = await HttpsClient.PostAsync(wmsIpAddress, inputJson); |
| | | |
| | | var respone = JsonConvert.DeserializeObject<ResponeAgingInputDto>(result.ToString()); |
| | | if (!respone.Success) |
| | |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Info(true, input.TrayBarcode); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Info(true, result); |
| | | content.OK(data: result); |
| | | } |
| | | catch (Exception err) |
| | | { |
| | |
| | | //Console.WriteLine(err.Message.ToString()); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, err.StackTrace); |
| | | content.Error(err.Message); |
| | | } |
| | | return content; |
| | | } |
| | |
| | | } |
| | | var wmsIpAddress = wmsBase + ipAddress; |
| | | |
| | | var result = HttpsClient.PostAsync(wmsIpAddress, inputJson).Result; |
| | | var result = await HttpsClient.PostAsync(wmsIpAddress, inputJson); |
| | | |
| | | var respone = JsonConvert.DeserializeObject<ResponeAgingInputDto>(result.ToString()); |
| | | if (!respone.Success) |