作者 lyh

gx

... ... @@ -23,7 +23,7 @@ class UpgradeCount extends Command
*
* @var string
*/
protected $signature = 'upgrade_count';
protected $signature = 'upgrade_counts';
/**
* The console command description.
... ... @@ -34,7 +34,7 @@ class UpgradeCount extends Command
public function handle(){
$projectModel = new Project();
$list = $projectModel->list(['is_upgrade'=>1,'delete_status'=>0,'id'=>['<=',550]]);
$list = $projectModel->list(['is_upgrade'=>1,'delete_status'=>0]);
foreach ($list as $v) {
echo date('Y-m-d H:i:s') . '项目id:'.$v['id'] . PHP_EOL;
ProjectServer::useProject($v['id']);
... ...
... ... @@ -27,7 +27,7 @@ class UpgradeCount extends Command
*
* @var string
*/
protected $signature = 'upgrade_month_count';
protected $signature = 'upgrade_month_counts';
/**
* The console command description.
... ...