From fd8cefb32ffce7fbe63a0a9ec23f2eb83bdca6ba Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 23 Jul 2024 17:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/happy_orchard/happy_orchard_give_water.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rule/happy_orchard/happy_orchard_give_water.go b/rule/happy_orchard/happy_orchard_give_water.go index d96979f..8692397 100644 --- a/rule/happy_orchard/happy_orchard_give_water.go +++ b/rule/happy_orchard/happy_orchard_give_water.go @@ -39,8 +39,8 @@ func HappyOrchardGiveWater(eg *xorm.Engine, masterId string, uid int, isMultiple return } //增加 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() if UserWatchRecords == nil { residueWatchAdNum := zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum) - 1