jianghaiqing 2 years ago
commit a975bd469b

@ -94,14 +94,13 @@ namespace Myshipping.Application.Job
Deleted = listDel,
};
_log.LogDebug(JsonConvert.SerializeObject(sendModel));
_log.LogInformation($"发送待比较数据:{JsonConvert.SerializeObject(sendModel)}");
var rtn = await jsonUrl
.SetHttpMethod(HttpMethod.Post)
.SetBody(sendModel)
.GetAsStringAsync();
.PostAsStringAsync();
_log.LogDebug($"调用比对返回结果:{rtn}");
_log.LogInformation($"调用比对返回结果:{rtn}");
StringBuilder sbMessage = new StringBuilder();

@ -6079,10 +6079,15 @@ namespace Myshipping.Application
#endregion
#region 临时测试使用
/// <summary>
/// 比对数据临时测试
/// </summary>
/// <returns></returns>
[HttpPost("/BookingOrder/HCCompareTest"), AllowAnonymous]
[NonUnify]
public async Task<string> HCCompareTest()
{
var rtn =
return
"{ " +
" \"Code\": 200, " +
" \"Message\": \"\", " +
@ -6102,8 +6107,7 @@ namespace Myshipping.Application
" } " +
" ] " +
" } " +
"} ";
return rtn;
"} " ;
}
#endregion

Loading…
Cancel
Save