增加开关

main
limu 11 months ago
parent 25ea1785e9
commit 536840e42c
  1. 5
      app/command/dayUserValue.php
  2. 2
      config/console.php

@ -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',

Loading…
Cancel
Save