|
@@ -66,6 +66,8 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin |
|
|
|
|
|
|
|
|
//TODO::奖励多少个活跃积分(根据ecpm, 新用户机制, 蛋蛋分机制) |
|
|
//TODO::奖励多少个活跃积分(根据ecpm, 新用户机制, 蛋蛋分机制) |
|
|
redisConn := cache.GetPool().Get() |
|
|
redisConn := cache.GetPool().Get() |
|
|
|
|
|
defer redisConn.Close() |
|
|
|
|
|
|
|
|
sysCfgDb := implement.NewSysCfgDb(engine, redisConn) |
|
|
sysCfgDb := implement.NewSysCfgDb(engine, redisConn) |
|
|
videoRewardUnitPrice := sysCfgDb.SysCfgGetWithDb(enum.VideoRewardUnitPrice) |
|
|
videoRewardUnitPrice := sysCfgDb.SysCfgGetWithDb(enum.VideoRewardUnitPrice) |
|
|
if videoRewardUnitPrice != "" { //处理ecpm |
|
|
if videoRewardUnitPrice != "" { //处理ecpm |
|
|