Files
HTCloud/HT.Cloud.Code/Model/Define.cs
2023-03-03 16:07:50 +08:00

18 lines
792 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace HT.Cloud.Code
{
public static class Define
{
public const string PROVIDER_COOKIE = "Cookie";
public const string PROVIDER_SESSION = "Session";
public const string PROVIDER_WEBAPI = "WebApi";
public const string CACHEPROVIDER_REDIS = "Redis";
public const string CACHEPROVIDER_MEMORY = "Memory";
public const string DATAPRIVILEGE_LOGINUSER = "{loginUser}"; //数据权限配置中当前登录用户的key
public const string DATAPRIVILEGE_LOGINROLE = "{loginRole}"; //数据权限配置中当前登录用户角色的key
public const string DATAPRIVILEGE_LOGINORG = "{loginOrg}"; //数据权限配置中当前登录用户部门的key
public const string SQL_MORE = "MoreSql";//多库
public const string SQL_TENANT = "TenantSql";//多租户
}
}