作者 lyh

gx

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