作者 lyh

gx

... ... @@ -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();
//服务器
... ...
... ... @@ -133,6 +133,7 @@ class ProjectLogic extends BaseLogic
public function projectSave(){
DB::beginTransaction();
try {
$this->param['project_location'] = 0;//TODO::图片文件存储不同地方,上线后删除
if($this->param['type'] == Project::TYPE_SEVEN){
//错误单直接返回,单独处理
$this->setTypeSevenEdit($this->param);
... ...