|
...
|
...
|
@@ -5,6 +5,7 @@ namespace App\Http\Logic\Aside\Project; |
|
|
|
use App\Enums\Common\Code;
|
|
|
|
use App\Exceptions\AsideGlobalException;
|
|
|
|
use App\Models\Com\NoticeLog;
|
|
|
|
use App\Models\Com\UpdateLog;
|
|
|
|
use App\Models\Devops\ServerConfig;
|
|
|
|
use App\Models\Project\ProjectRenew;
|
|
|
|
use App\Models\Template\BSettingTemplate;
|
|
...
|
...
|
@@ -90,6 +91,15 @@ class ProjectLogic extends BaseLogic |
|
|
|
if(isset($info['deploy_build']['other_project']) && !empty($info['deploy_build']['other_project'])){
|
|
|
|
$info['deploy_build']['other_project']= json_decode($info['deploy_build']['other_project']);
|
|
|
|
}
|
|
|
|
//升级项目采集完成时间
|
|
|
|
$collect_time = '';
|
|
|
|
if($info['is_upgrade'] == 1){
|
|
|
|
$collect_info = UpdateLog::where('project_id',$id)->where('api_type','blog')->first();
|
|
|
|
if($collect_info){
|
|
|
|
$collect_time = $collect_info->collect_status == 0 ? '采集中' : $collect_info->updated_at;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$info['collect_time'] = $collect_time;
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|