From 2bfd4ff0c961ca6c6987919d981ba29dcc7c7e9b Mon Sep 17 00:00:00 2001 From: zhangxiaofeng Date: Thu, 1 Feb 2024 10:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B9=E7=94=A8=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=8F=82=E6=95=B0=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Core/Const/TenantParamCode.cs | 5 +++++ Myshipping.Core/Service/Auth/AuthService.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); // 增加登录日志