|
@@ -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 |
|
|