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