租户参数

master
wanghaomei 9 months ago
parent eb35998d5f
commit ec71dc2991

@ -14,5 +14,10 @@
/// 是否启用费用相关功能
/// </summary>
public const string ENABLE_FEE_ABILITY = "ENABLE_FEE_ABILITY";
/// <summary>
/// 是否必须使用船期表录入船期参数
/// </summary>
public const string VESSEL_FROM_CONFIG_ONLY = "VESSEL_FROM_CONFIG_ONLY";
}
}

@ -857,6 +857,11 @@
是否启用费用相关功能
</summary>
</member>
<member name="F:Myshipping.Core.Const.TenantParamCode.VESSEL_FROM_CONFIG_ONLY">
<summary>
是否必须使用船期表录入船期参数
</summary>
</member>
<member name="P:Myshipping.Core.Entity.CodeCarrier.Code">
<summary>
代码

@ -255,7 +255,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient
}
// 返回前端需要使用的租户参数
var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY, TenantParamCode.ENABLE_FEE_ABILITY };
var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY, TenantParamCode.ENABLE_FEE_ABILITY, TenantParamCode.VESSEL_FROM_CONFIG_ONLY };
loginOutput.TenantParams = await _djyTenantParamService.GetParaCodeWithValue(paraCodeArr);
// 增加登录日志

Loading…
Cancel
Save