Browse Source

update

master
dengbiao 1 week ago
parent
commit
f4422da40b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      rule/egg_energy/give_activty_coin.go

+ 2
- 0
rule/egg_energy/give_activty_coin.go View File

@@ -66,6 +66,8 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin

//TODO::奖励多少个活跃积分(根据ecpm, 新用户机制, 蛋蛋分机制)
redisConn := cache.GetPool().Get()
defer redisConn.Close()

sysCfgDb := implement.NewSysCfgDb(engine, redisConn)
videoRewardUnitPrice := sysCfgDb.SysCfgGetWithDb(enum.VideoRewardUnitPrice)
if videoRewardUnitPrice != "" { //处理ecpm


Loading…
Cancel
Save