diff --git a/Myshipping.Core/Const/TenantParamCode.cs b/Myshipping.Core/Const/TenantParamCode.cs index 86155fd1..278ab91a 100644 --- a/Myshipping.Core/Const/TenantParamCode.cs +++ b/Myshipping.Core/Const/TenantParamCode.cs @@ -9,5 +9,10 @@ /// 是否启用舱位相关功能 /// public const string ENABLE_SLOT_ABILITY = "ENABLE_SLOT_ABILITY"; + + /// + /// 是否启用费用相关功能 + /// + public const string ENABLE_FEE_ABILITY = "ENABLE_FEE_ABILITY"; } } diff --git a/Myshipping.Core/Service/Auth/AuthService.cs b/Myshipping.Core/Service/Auth/AuthService.cs index 2ee179b4..49862fbd 100644 --- a/Myshipping.Core/Service/Auth/AuthService.cs +++ b/Myshipping.Core/Service/Auth/AuthService.cs @@ -255,7 +255,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient } // 返回前端需要使用的租户参数 - var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY }; + var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY, TenantParamCode.ENABLE_FEE_ABILITY }; loginOutput.TenantParams = await _djyTenantParamService.GetParaCodeWithValue(paraCodeArr); // 增加登录日志