附近小店
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

app_redis_key.go 948 B

3 个月前
1234567891011121314151617181920212223
  1. package md
  2. // 缓存key统一管理, %s格式化为masterId
  3. const (
  4. AppCfgCacheKey = "%s:app_cfg_cache:" // 占位符: masterId, key的第一个字母
  5. VirtualCoinCfgCacheKey = "%s:virtual_coin_cfg"
  6. PlanRewardCfgCacheKey = "%s:plan_reward_cfg"
  7. UnionSetCacheCfg = "%s:union_set_cfg:%s" // 联盟设置缓存key
  8. UserFinValidUpdateLock = "%s:user_fin_valid_update_lock:%s" // 用户余额更新锁(能拿到锁才能更新余额)
  9. WithdrawApplyQueueListKey = "withdraw_apply_queue" // 提现队列
  10. TplBottomNavRedisKey = "%s:tpl_nav_bottom_key:%s" // master_id platform
  11. SysModByIdRedisKey = "%s:sys_mod_tpl_by_id:%s"
  12. AppLimiterLock = "%s:ZhiOs_app_limiter_lock:%s" // 限流器锁
  13. DealAppLimiterRequestIdPrefix = "%s:ZhiOs_app_comm_limiter_request_id:%s"
  14. DealAppNewcomersLimiterRequestIdPrefix = "%s:ZhiOs_app_newcomers_limiter_request_id:%s"
  15. CfgCacheTime = 60 * 60 * 4
  16. )