面包店
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.
 
 
 
 
 

13 line
408 B

  1. package md
  2. // 缓存key统一管理, %s格式化为masterId
  3. const (
  4. AppCfgCacheKey = "%s:cfg_cache:%s" // 占位符: masterId, key的第一个字母
  5. VirtualCoinCfgCacheKey = "%s:virtual_coin_cfg"
  6. PlanRewardCfgCacheKey = "%s:plan_reward_cfg"
  7. UserFinValidUpdateLock = "%s:user_fin_valid_update_lock:%s" // 用户余额更新锁(能拿到锁才能更新余额)
  8. CfgCacheTime = 86400
  9. )