dengbiao pirms 3 nedēļām
vecāks
revīzija
b9172d9df4
1 mainītis faili ar 0 papildinājumiem un 7 dzēšanām
  1. +0
    -7
      rule/egg_energy/give_activty_coin.go

+ 0
- 7
rule/egg_energy/give_activty_coin.go Parādīt failu

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

import (
"code.fnuoos.com/EggPlanet/egg_models.git/src/dao"
"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"
@@ -68,12 +67,6 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin
//TODO::奖励多少个活跃积分(根据ecpm, 新用户机制, 蛋蛋分机制)
redisConn := cache.GetPool().Get()
sysCfgDb := implement.NewSysCfgDb(engine, redisConn)
defer func(sysCfgDb dao.SysCfgDao) {
err = sysCfgDb.Close()
if err != nil {
fmt.Println("redis close err:" + err.Error()) // 记录错误信息
}
}(sysCfgDb)
videoRewardUnitPrice := sysCfgDb.SysCfgGetWithDb(enum.VideoRewardUnitPrice)
if videoRewardUnitPrice != "" { //处理ecpm
var coin model.VirtualCoin


Notiek ielāde…
Atcelt
Saglabāt