添加项目文件。
This commit is contained in:
18
WaterCloud.Code/Model/Define.cs
Normal file
18
WaterCloud.Code/Model/Define.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace WaterCloud.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";//多租户
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user