package md // 缓存key统一管理 const ( AdminJwtTokenKey = "%s:admin_jwt_token:%s" // jwt, 占位符:ip, admin:id JwtTokenCacheTime = 3600 * 24 * 365 CfgCacheTime = 86400 AppCfgCacheKey = "one_item_one_code:%s" // 占位符: key的第一个字母 WxOfficialAccountCacheKey = "wx_official_account" // 占位符: key的第一个字母 ZhimengIsUseCacheKey = "zhimeng_is_use_cache" //授权码 ZhimengAuthorizationCodeCacheKey = "zhimeng_authorization_code_cache" //授权码 ZhimengAuthorizationCodeCacheTime = 60 ZhimengDataRequestCacheKey = "%s:zhimeng_data_request_cache:%s:%s" //请求缓存(masterId:big_data_screen_data_request_cache:uri:md5(body参数)) )