|
...
|
...
|
@@ -38,7 +38,7 @@ class ServiceCount extends Command |
|
|
|
* @time :2024/1/29 15:31
|
|
|
|
*/
|
|
|
|
public function handle(){
|
|
|
|
$this->serverConfigCount();
|
|
|
|
return $this->serverConfigCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -52,7 +52,7 @@ class ServiceCount extends Command |
|
|
|
$model = new ServerConfig();
|
|
|
|
$list = $model->list();
|
|
|
|
$projectModel = new Project();
|
|
|
|
foreach ($list as $k => $v){
|
|
|
|
foreach ($list as $v){
|
|
|
|
if($v['type'] == 1){
|
|
|
|
$count = $projectModel->formatQuery(['serve_id'=>$v['id']])->count();
|
|
|
|
//服务器
|
...
|
...
|
|