修改格式单比对查询结果

usertest
jianghaiqing 4 months ago
parent a4f4bca1b9
commit 4e43403e87

@ -674,19 +674,19 @@ namespace DS.WMS.Core.TaskPlat.Method
// .SetContentEncoding(Encoding.UTF8) // .SetContentEncoding(Encoding.UTF8)
//.PostAsync(); //.PostAsync();
//var jsonBody = JsonConvert.SerializeObject(info); var jsonBody = JsonConvert.SerializeObject(info);
//var res = RequestHelper.Post(jsonBody, shippingOrderCompareUrl); var res = RequestHelper.Post(jsonBody, draftResultUrl);
//Logger.Log(NLog.LogLevel.Info, "批次={no} 对应请求报文完成 res={res}", info.Head.GID, JSON.Serialize(res)); Logger.Log(NLog.LogLevel.Info, "批次={no} 对应请求报文完成 res={res}", info.Head.GID, res);
//if (res.StatusCode == System.Net.HttpStatusCode.OK) if (!string.IsNullOrWhiteSpace(res))
//{ {
// var userResult = await res.Content.ReadAsStringAsync(); //var userResult = await res.Content.ReadAsStringAsync();
// _logger.LogInformation("对应请求报文 userResult={userResult}", userResult); //_logger.LogInformation("对应请求报文 userResult={userResult}", userResult);
// model = JSON.Deserialize<TaskManageExcuteResultDto>(userResult); model = JsonConvert.DeserializeObject<TaskManageExcuteResultDto>(res);
//} }
} }
catch (Exception ex) catch (Exception ex)
{ {

Loading…
Cancel
Save