Browse Source

制度

master
huangjiajun 2 weeks ago
parent
commit
b7677edb1a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      rule/egg_energy/give_activty_coin.go

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

@@ -1,7 +1,6 @@
package egg_energy

import (
db "code.fnuoos.com/EggPlanet/egg_models.git/src"
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement"
"code.fnuoos.com/EggPlanet/egg_models.git/src/model"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/enum"
@@ -67,7 +66,7 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin
go dealEcpm(user, ecpm, ch) //TODO::协程处理ecpm的变化

//TODO::奖励多少个活跃积分(根据ecpm, 新用户机制, 蛋蛋分机制)
sysCfgDb := sys_cfg.NewSysCfgDb(db.Db)
sysCfgDb := sys_cfg.NewSysCfgDb(engine)
videoRewardUnitPrice := sysCfgDb.SysCfgGetWithDb(enum.VideoRewardUnitPrice)
if videoRewardUnitPrice != "" { //处理ecpm
var coin model.VirtualCoin


Loading…
Cancel
Save