diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index b9f90097..2fb096ae 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -1897,8 +1897,7 @@ namespace Tnb.ProductionMgr bindCarryCodeInput.location_code = location.location_code; bindCarryCodeInput.code_batch = prdMoTask.batch; - // string response1 = HttpUtils.RequestPost($"{config.value}/api/wms/wms-carry/bind-carry-material",JsonConvert.SerializeObject(bindCarryCodeInput), header); - string response1 = HttpUtils.RequestPost($"http://localhost:9232/api/wms/wms-carry/bind-carry-material",JsonConvert.SerializeObject(bindCarryCodeInput), header); + string response1 = HttpUtils.RequestPost($"{config.value}/api/wms/wms-carry/bind-carry-material",JsonConvert.SerializeObject(bindCarryCodeInput), header); AuthResponse authResponse1 = JsonConvert.DeserializeObject(response1); AuthResponse authResponse11 = JsonConvert.DeserializeObject(authResponse1.data.ToString()); if (authResponse11.code != 200) @@ -1936,8 +1935,7 @@ namespace Tnb.ProductionMgr carry_id = wmsCarryH.id, }); - // string response2 = HttpUtils.RequestPost($"{config.value}/api/wms/wms-prd-instock-h/prd-instock",JsonConvert.SerializeObject(wmsPrdInstockInput), header); - string response2 = HttpUtils.RequestPost($"http://localhost:9232/api/wms/wms-prd-instock-h/prd-instock",JsonConvert.SerializeObject(wmsPrdInstockInput), header); + string response2 = HttpUtils.RequestPost($"{config.value}/api/wms/wms-prd-instock-h/prd-instock",JsonConvert.SerializeObject(wmsPrdInstockInput), header); AuthResponse authResponse2 = JsonConvert.DeserializeObject(response2); AuthResponse authResponse22 = JsonConvert.DeserializeObject(authResponse2.data.ToString()); if (authResponse22.code != 200)