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.
|
- package md
-
- // 缓存key统一管理, %s格式化为masterId
- const (
- AppCfgCacheKey = "%s:cfg_cache:" // 占位符: masterId, key的第一个字母
- VirtualCoinCfgCacheKey = "%s:virtual_coin_cfg_comm"
- FunctionPermissionCfgCacheKey = "%s:function_permission_cfg"
- VirtualCoinCfgAllCacheKey = "%s:virtual_coin_cfg_all"
- PlanRewardCfgCacheKey = "%s:plan_reward_cfg:%s" // 后面的为平台类型
-
- UserFinValidUpdateLock = "%s:user_fin_valid_update_lock:%s" // 用户余额更新锁(能拿到锁才能更新余额)
-
- AppCommLimiterLock = "%s:app_comm_limiter_lock:%s" // 限流器锁
- DealAppCommLimiterRequestIdPrefix = "%s:app_comm_limiter_request_id:%s"
- CampTaskLock = "%s:camp_task_lock:%s" //
- CfgCacheTime = 60 * 60 * 4
- )
|