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();