|
|
@ -1140,7 +1140,7 @@ namespace Myshipping.Application.Service.BookingOrder
|
|
|
|
throw Oops.Oh("未配置商品请求接口地址,请联系管理员");
|
|
|
|
throw Oops.Oh("未配置商品请求接口地址,请联系管理员");
|
|
|
|
|
|
|
|
|
|
|
|
var webAccountConfig = _webAccountConfig
|
|
|
|
var webAccountConfig = _webAccountConfig
|
|
|
|
.GetAccountConfig("MSKApi", UserManager.UserId).GetAwaiter().GetResult();
|
|
|
|
.GetAccountConfig("MSKSpotApi", UserManager.UserId).GetAwaiter().GetResult();
|
|
|
|
|
|
|
|
|
|
|
|
if (webAccountConfig == null)
|
|
|
|
if (webAccountConfig == null)
|
|
|
|
throw Oops.Oh("未配置个人账户,请先配置个人账户 类型-MSKApi");
|
|
|
|
throw Oops.Oh("未配置个人账户,请先配置个人账户 类型-MSKApi");
|
|
|
@ -1149,7 +1149,7 @@ namespace Myshipping.Application.Service.BookingOrder
|
|
|
|
{
|
|
|
|
{
|
|
|
|
userKey = App.Configuration["MSKAPIDjyUserKey"],
|
|
|
|
userKey = App.Configuration["MSKAPIDjyUserKey"],
|
|
|
|
userSecret = App.Configuration["MSKAPIDjyUserSecret"],
|
|
|
|
userSecret = App.Configuration["MSKAPIDjyUserSecret"],
|
|
|
|
operatingEnvironment = App.Configuration["MSKAPIOPEnvironment"],
|
|
|
|
operatingEnvironment = "PRODUCTION",//App.Configuration["MSKAPIOPEnvironment"],
|
|
|
|
commodityName = model.commodityName,
|
|
|
|
commodityName = model.commodityName,
|
|
|
|
mskAppKey = webAccountConfig.Account
|
|
|
|
mskAppKey = webAccountConfig.Account
|
|
|
|
};
|
|
|
|
};
|
|
|
|