From 684098c3365e56f78cd0b2ab5fbffe79eda15866 Mon Sep 17 00:00:00 2001 From: limu Date: Fri, 2 Feb 2024 10:18:57 +0800 Subject: [PATCH] 1 --- app/command/brand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/command/brand.php b/app/command/brand.php index ae9dfb0..eda5052 100644 --- a/app/command/brand.php +++ b/app/command/brand.php @@ -77,7 +77,7 @@ class brand extends Command //全网品宣贡献值之和 $allBrandValue = userModel::getDB()->where('status', 1)->sum('brand_integral'); - if ($allBrandValue <= 0) { + if ($allBrandValue <= 0 || $baodanall <= 0) { die; } Db::startTrans();