From 1995328ba1251230e9f63142a31e01255cdb87d7 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Wed, 24 Jan 2024 13:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA-=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Services/Public/ErpService.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/WMS.Web.Domain/Services/Public/ErpService.cs b/src/WMS.Web.Domain/Services/Public/ErpService.cs index 40560028..1dab04a6 100644 --- a/src/WMS.Web.Domain/Services/Public/ErpService.cs +++ b/src/WMS.Web.Domain/Services/Public/ErpService.cs @@ -948,15 +948,13 @@ namespace WMS.Web.Domain.Services.Public query.Data = JsonConvert.SerializeObject(param); var json = JsonConvert.SerializeObject(query); - var jsonsssss = ""; - var jonsuccess = "success1"; + var error_josn = ""; try { //4.3.请求查询接口并返回数据 var result_json = await _client.ExecuteBillQueryAsync(json); - jsonsssss = result_json; + error_josn = result_json; var result = JsonConvert.DeserializeObject>>(result_json); - jonsuccess = "success2"; //4.5.拼装 foreach (var item in result) { @@ -977,8 +975,7 @@ namespace WMS.Web.Domain.Services.Public } catch (Exception) { - _logger.LogInformation("物料拉取按ID:错误的Mid:" + id); - _logger.LogInformation("物料拉取按ID:错误的Jsonsss:" + jsonsssss+"============"+ jonsuccess); + _logger.LogInformation("物料拉取按ID->错误的Json:" + error_josn); return null; }