|
- package md
-
- // 缓存key统一管理, %s格式化为masterId
- const (
- JwtTokenKey = "%s:advertisement_jwt_token:%s" // jwt, 占位符:ip, admin:id
-
- JwtTokenCacheTime = 3600 * 2
-
- AppCfgCacheKey = "%s:cfg_cache:%s" // 占位符: masterId, key的第一个字母
-
- AdminRolePermissionCacheTime = 3600 * 24 * 0.5
-
- KEY_SYS_CFG_CACHE = "sys_cfg_cache"
-
- CfgCacheTime = 86400
- )
|