package cfg // 缓存key统一管理, %s格式化为masterId const ( JwtTokenKey = "%s:egg_admin_jwt_token:%s" // jwt, 占位符:ip, admin:id JwtTokenCacheTime = 3600 * 6 AppCfgCacheKey = "egg_admin_cfg_cache:%s" // 占位符: key的第一个字母 CfgCacheTime = 86400 AdminRolePermissionKey = "egg_admin_role_permission:%s" // 占位符:admin:id AdminRolePermissionCacheTime = 3600 * 24 * 0.5 ) const ( IM_KEY_SYS_CFG_CACHE = "egg_im_sys_cfg_cache" //im配置表缓存键 )