12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- namespace YBEE.EQM.Core;
- public class CommonConst
- {
- /// <summary>
- /// 系统用户ID
- /// </summary>
- public const int SYS_USER_ID = 1;
- public const string TEMP_FILE_ROOT = "temp";
- /// <summary>
- /// 默认密码
- /// </summary>
- public const string DEFAULT_PASSWORD = "123456";
- /// <summary>
- /// OFFER缓存
- /// </summary>
- public const string CACHE_KEY_OFFER = "offer_";
- /// <summary>
- /// 用户缓存
- /// </summary>
- public const string CACHE_KEY_USER = "user_";
- /// <summary>
- /// 菜单缓存
- /// </summary>
- public const string CACHE_KEY_MENU = "menu_";
- /// <summary>
- /// 菜单按钮权限缓存
- /// </summary>
- public const string CACHE_KEY_PERMISSION = "permission_";
- /// <summary>
- /// 数据范围缓存
- /// </summary>
- public const string CACHE_KEY_DATASCOPE = "datascope_";
- /// <summary>
- /// 角色数据权限范围缓存
- /// </summary>
- public const string CACHE_KEY_ROLE_DATASCOPE = "role_datascope_";
- /// <summary>
- /// 验证码缓存
- /// </summary>
- public const string CACHE_KEY_CODE = "vercode_";
- /// <summary>
- /// 所有缓存关键字集合
- /// </summary>
- public const string CACHE_KEY_ALL = "allkey";
- /// <summary>
- /// 定时任务缓存
- /// </summary>
- public const string CACHE_KEY_TIMER_JOB = "timerjob";
- /// <summary>
- /// 在线用户缓存
- /// </summary>
- public const string CACHE_KEY_ONLINE_USER = "onlineuser";
- /// <summary>
- /// 钉钉access token缓存
- /// </summary>
- public const string CACHE_KEY_DT_ACCESS_TOKEN = "dt_access_token";
- /// <summary>
- /// 系统管理员角色编码
- /// </summary>
- public const string SYS_MANAGER_ROLE_CODE = "sys_manager_role";
- /// <summary>
- /// 广告主
- /// </summary>
- public const string CACHE_KEY_ADVERTISER = "advertiser";
- /// <summary>
- /// 渠道
- /// </summary>
- public const string CACHE_KEY_CHANNEL = "channel";
- }
|