AllowAnonymous

optimize
wanghaomei 2 years ago
parent 9d4662c636
commit 01722db9f2

@ -3958,7 +3958,7 @@ namespace Myshipping.Application
if (ediRouteEnum == EDIRouteEnum.TSL && model.send) if (ediRouteEnum == EDIRouteEnum.TSL && model.send)
{ {
if(model.sendType.Equals("E",StringComparison.OrdinalIgnoreCase)) if (model.sendType.Equals("E", StringComparison.OrdinalIgnoreCase))
throw Oops.Oh($"暂未提供TSL的截单发送"); throw Oops.Oh($"暂未提供TSL的截单发送");
postSpiderUrl = _cache.GetAllDictData().GetAwaiter().GetResult() postSpiderUrl = _cache.GetAllDictData().GetAwaiter().GetResult()
@ -4666,7 +4666,7 @@ namespace Myshipping.Application
{ {
sendTypeName = "邮件"; sendTypeName = "邮件";
} }
else if(ediRouteEnum == EDIRouteEnum.TSL) else if (ediRouteEnum == EDIRouteEnum.TSL)
{ {
sendTypeName = "POST"; sendTypeName = "POST";
} }
@ -6079,7 +6079,7 @@ namespace Myshipping.Application
#endregion #endregion
#region 临时测试使用 #region 临时测试使用
[HttpPost("/BookingOrder/HCCompareTest")] [HttpPost("/BookingOrder/HCCompareTest"), AllowAnonymous]
public async Task<string> HCCompareTest() public async Task<string> HCCompareTest()
{ {
var rtn = var rtn =

Loading…
Cancel
Save