@ -37,8 +37,9 @@ class dayUserValue extends Command
$config = systemConfig('brand_config');
$config_start = (int)systemConfig('brand_config') ?? 1;
$config_growth = systemConfig('brand_growth');
if (empty($config)) {
echo '无配置';
$config_status = systemConfig('brand_status') ?? 0;
if (empty($config) || empty($config_status)) {
echo '无配置,或未开启';
exit;
}
$resConfig = [];
@ -41,7 +41,7 @@ return [
'brand' => 'app\command\brand',
//社区贡献值结算
'dayValue' => 'app\command\dayValue',
//每日兑换率生成
//每日兑换率生成·
'dayUserValue' => 'app\command\dayUserValue',
//每日贡献值转增值积分
'dayUserGrowth' => 'app\command\dayUserGrowth',