diff --git a/Myshipping.Application/Job/HCDataCompareWorker.cs b/Myshipping.Application/Job/HCDataCompareWorker.cs index b31dd7b8..1146bd2b 100644 --- a/Myshipping.Application/Job/HCDataCompareWorker.cs +++ b/Myshipping.Application/Job/HCDataCompareWorker.cs @@ -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(); diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index e08edcad..fd1e4fff 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -6079,10 +6079,15 @@ namespace Myshipping.Application #endregion #region 临时测试使用 + /// + /// 比对数据临时测试 + /// + /// [HttpPost("/BookingOrder/HCCompareTest"), AllowAnonymous] + [NonUnify] public async Task HCCompareTest() { - var rtn = + return "{ " + " \"Code\": 200, " + " \"Message\": \"\", " + @@ -6102,8 +6107,7 @@ namespace Myshipping.Application " } " + " ] " + " } " + -"} "; - return rtn; +"} " ; } #endregion