From adb4cb552df121dead11a911325653e9047fb638 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 2 Feb 2024 17:29:47 +0800 Subject: [PATCH] update --- .../one_circles/one_circles_public_platoon_give_activty_coin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/one_circles/one_circles_public_platoon_give_activty_coin.go b/rule/one_circles/one_circles_public_platoon_give_activty_coin.go index 353e710..4d2f53b 100644 --- a/rule/one_circles/one_circles_public_platoon_give_activty_coin.go +++ b/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{