智盟项目
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 394 B

1 vuosi sitten
12345678910
  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. )