支付模块
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
677 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. 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. CfgCacheTime = 86400
  13. )