From 4e89886f3b599a93db2235441c36c940d69a5d25 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sun, 4 Feb 2024 14:45:17 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=B8=80=E4=B8=AA=E5=9C=88=E5=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one_circles_available_green_energy_settlement.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rule/one_circles/one_circles_available_green_energy_settlement.go b/rule/one_circles/one_circles_available_green_energy_settlement.go index 9ca882f..62abe5a 100644 --- a/rule/one_circles/one_circles_available_green_energy_settlement.go +++ b/rule/one_circles/one_circles_available_green_energy_settlement.go @@ -135,9 +135,11 @@ func JudgeUserIsCanBuyWelfareOrders(engine *xorm.Engine, uid int) (err error) { } if !isContinuousDailyActivity { err = errors.New("未连续日活不可购买") + return } if days < zhios_order_relate_utils.StrToInt(welfareOrdersLimit.ContinuousDailyActivityNums) { err = errors.New("连续日活天数不够") + return } //3、计算直推人数