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";
|
}
|