xxyy
2025-03-05 6d578d016127db97d6f981ff18614ef52a2e0ede
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
namespace WIDESEA_Cache;
 
/// <summary>
/// Redis常量
/// </summary>
public class CacheConst
{
    /// <summary>
    /// Redis Key前缀(可删除)
    /// </summary>
    public const string Cache_Prefix_Web = "WIDESEA_WMSServerWeb:";
 
    /// <summary>
    /// Redis Key前缀(需要持久化,不随系统重启删除)
    /// </summary>
    public const string Cache_Prefix = "WIDESEA_WMSServer:";
 
    /// <summary>
    /// Redis Hash类型
    /// </summary>
    public const string Cache_Hash = "Hash";
 
    /// <summary>
    /// 系统配置表缓存Key
    /// </summary>
    public const string Cache_DevConfig = Cache_Prefix_Web + "DevConfig:";
 
    /// <summary>
    /// 登录验证码缓存Key
    /// </summary>
    public const string Cache_Captcha = Cache_Prefix_Web + "Captcha:";
 
    /// <summary>
    /// 用户表缓存Key
    /// </summary>
    public const string Cache_SysUser = Cache_Prefix_Web + "SysUser";
 
    /// <summary>
    /// 用户手机号关系缓存Key
    /// </summary>
    public const string Cache_SysUserPhone = Cache_Prefix_Web + "SysUserPhone";
 
    /// <summary>
    /// 用户Token缓存Key
    /// </summary>
    public const string Cache_UserToken = Cache_Prefix + "UserToken";
 
    /// <summary>
    /// WMS库存缓存Key
    /// </summary>Cache_AutoModel
    public const string Cache_DtStockInfo = Cache_Prefix + "DtStockInfo";
}