数据采集
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_app_redis_key.go 753 B

10 months ago
1234567891011121314151617
  1. package md
  2. // 缓存key统一管理
  3. const (
  4. AdminJwtTokenKey = "%s:admin_jwt_token:%s" // jwt, 占位符:ip, admin:id
  5. JwtTokenCacheTime = 3600 * 24 * 365
  6. CfgCacheTime = 86400
  7. AppCfgCacheKey = "one_item_one_code:%s" // 占位符: key的第一个字母
  8. WxOfficialAccountCacheKey = "wx_official_account" // 占位符: key的第一个字母
  9. ZhimengIsUseCacheKey = "zhimeng_is_use_cache" //授权码
  10. ZhimengAuthorizationCodeCacheKey = "zhimeng_authorization_code_cache" //授权码
  11. ZhimengAuthorizationCodeCacheTime = 60
  12. ZhimengDataRequestCacheKey = "%s:zhimeng_data_request_cache:%s:%s" //请求缓存(masterId:big_data_screen_data_request_cache:uri:md5(body参数))
  13. )