Blame view

netcore/src/Modularity/Common/NCC.Common/Const/CommonConst.cs 1.6 KB
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
  using NCC.Dependency;
  
  namespace NCC.Common.Const
  {
      /// <summary>
      /// 公共常量
      /// </summary>
      [SuppressSniffer]
      public class CommonConst
      {
          /// <summary>
          /// 默认密码
          /// </summary>
          public const string DEFAULT_PASSWORD = "123456";
  
          /// <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_CODE = "vercode_";
  
          /// <summary>
          /// 单据编码缓存
          /// </summary>
          public const string CACHE_KEY_BILLRULE = "billrule_";
  
          /// <summary>
          /// 在线用户缓存
          /// </summary>
          public const string CACHE_KEY_ONLINE_USER = "onlineuser_";
  
          /// <summary>
          /// 岗位缓存
          /// </summary>
          public const string CACHE_KEY_POSITION = "position_";
  
          /// <summary>
          /// 角色缓存
          /// </summary>
          public const string CACHE_KEY_ROLE = "role_";
  
          /// <summary>
          /// 在线开发缓存
          /// </summary>
          public const string VISUALDEV = "visualdev_";
      }
  }