Browse Source

更新

master
huangjiajun 3 months ago
parent
commit
fd8cefb32f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rule/happy_orchard/happy_orchard_give_water.go

+ 2
- 2
rule/happy_orchard/happy_orchard_give_water.go View File

@@ -39,8 +39,8 @@ func HappyOrchardGiveWater(eg *xorm.Engine, masterId string, uid int, isMultiple
return return
} }
//增加 one_circles_user_watch_records 记录 //增加 one_circles_user_watch_records 记录
NewHappyOrchardUserWatchRecordsDb := implement.NewHappyOrchardUserWatchRecordsDb(svc.MasterDb(c))
UserWatchRecords, _ := NewHappyOrchardUserWatchRecordsDb.GetHappyOrchardUserWatchRecords(user.Info.Uid)
NewHappyOrchardUserWatchRecordsDb := implement.NewHappyOrchardUserWatchRecordsDb(eg)
UserWatchRecords, _ := NewHappyOrchardUserWatchRecordsDb.GetHappyOrchardUserWatchRecords(uid)
now := time.Now() now := time.Now()
if UserWatchRecords == nil { if UserWatchRecords == nil {
residueWatchAdNum := zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum) - 1 residueWatchAdNum := zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum) - 1


Loading…
Cancel
Save