费用:添加租户参数开关

optimize
zhangxiaofeng 10 months ago
parent 2ef0422ddb
commit 2bfd4ff0c9

@ -9,5 +9,10 @@
/// 是否启用舱位相关功能 /// 是否启用舱位相关功能
/// </summary> /// </summary>
public const string ENABLE_SLOT_ABILITY = "ENABLE_SLOT_ABILITY"; public const string ENABLE_SLOT_ABILITY = "ENABLE_SLOT_ABILITY";
/// <summary>
/// 是否启用费用相关功能
/// </summary>
public const string ENABLE_FEE_ABILITY = "ENABLE_FEE_ABILITY";
} }
} }

@ -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); loginOutput.TenantParams = await _djyTenantParamService.GetParaCodeWithValue(paraCodeArr);
// 增加登录日志 // 增加登录日志

Loading…
Cancel
Save