浏览代码

update

master
DengBiao 10 个月前
父节点
当前提交
adb4cb552d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      rule/one_circles/one_circles_public_platoon_give_activty_coin.go

+ 1
- 1
rule/one_circles/one_circles_public_platoon_give_activty_coin.go 查看文件

@@ -96,7 +96,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid
now := time.Now()
if oneCirclesUserWatchRecords == nil {
residueWatchAdNum := zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum) - 1
if residueWatchAdNum < 1 {
if residueWatchAdNum < 0 {
residueWatchAdNum = zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum)
}
_, err2 := db.OneCirclesUserWatchRecordsInsert(engine, &model.OneCirclesUserWatchRecords{


正在加载...
取消
保存