蛋蛋星球-制度模式
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.

app_redis_key.go 551 B

3 weeks ago
3 weeks ago
3 weeks ago
12345678910111213
  1. package md
  2. const RedisDataBase = 0 //Redis 0 号库
  3. // 缓存key统一管理
  4. const (
  5. EggEnergyNowPriceUpdateLock = "egg_energy_core_data_update_lock" // 当前价格(能拿到锁才能更新价格)
  6. DealEggEnergyNowPriceRequestIdPrefix = "egg_energy_core_data:%d"
  7. UserFinValidUpdateLock = "user_fin_valid_update_lock:%s" // 用户余额更新锁(能拿到锁才能更新余额)
  8. UserVirtualAmountUpdateLock = "%s:user_virtual_amount_update_lock:%s" // 用户虚拟币更新锁(能拿到锁才能更新余额)
  9. )