AllowAnonymous

optimize
wanghaomei 2 years ago
parent 9d4662c636
commit 01722db9f2

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

Loading…
Cancel
Save