| | |
| | | } |
| | | return returnStr; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 叠托机申请空托跺绑定 |
| | | /// </summary> |
| | | /// <param name="palletNo"></param> |
| | | /// <returns></returns> |
| | | public string BindNullPalletWcs(int qty,string palletNo) |
| | | { |
| | | string returnStr = ""; |
| | | var model = new |
| | | { |
| | | PalletNo = palletNo, |
| | | Qty = qty, |
| | | }; |
| | | string url = Urls.WMSAddress + ":" + Urls.WMSPort; |
| | | var result = (url + "/api/DownAPi/BindNullPalletWcs").SetBody(model, "application/json", Encoding.UTF8).PostAsAsync<ResponseSkuInfo>().Result; |
| | | Log.Information("调用WMS接口叠托机绑定空托跺" + result.ToJson()); |
| | | |
| | | if (result.Success != 0) |
| | | { |
| | | returnStr = "-1:" + result.Message; |
| | | } |
| | | return returnStr; |
| | | } |
| | | } |