|
...
|
...
|
@@ -36,6 +36,7 @@ class UpgradeCount extends Command |
|
|
|
$projectModel = new Project();
|
|
|
|
$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']);
|
|
|
|
$this->count($v['id']);
|
|
|
|
DB::disconnect('custom_mysql');
|
...
|
...
|
|