正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -12,6 +12,7 @@ use App\Models\Channel\Channel; | @@ -12,6 +12,7 @@ use App\Models\Channel\Channel; | ||
| 12 | use App\Models\Channel\User; | 12 | use App\Models\Channel\User; |
| 13 | use App\Models\Channel\Zone; | 13 | use App\Models\Channel\Zone; |
| 14 | use App\Models\Inquiry\InquirySet; | 14 | use App\Models\Inquiry\InquirySet; |
| 15 | +use App\Models\Manage\Manage; | ||
| 15 | use App\Models\News\News; | 16 | use App\Models\News\News; |
| 16 | use App\Models\Product\Product; | 17 | use App\Models\Product\Product; |
| 17 | use App\Models\Project\DeployBuild; | 18 | use App\Models\Project\DeployBuild; |
| @@ -96,6 +97,9 @@ class ProjectLogic extends BaseLogic | @@ -96,6 +97,9 @@ class ProjectLogic extends BaseLogic | ||
| 96 | public function getProjectInfo($id){ | 97 | public function getProjectInfo($id){ |
| 97 | $info = $this->model->with('payment')->with('deploy_build') | 98 | $info = $this->model->with('payment')->with('deploy_build') |
| 98 | ->with('deploy_optimize')->with('online_check')->where(['id'=>$id])->first(); | 99 | ->with('deploy_optimize')->with('online_check')->where(['id'=>$id])->first(); |
| 100 | + if(isset($info['online_check']['created_manage_id']) && !empty($info['online_check']['created_manage_id'])){ | ||
| 101 | + $info['online_check']['name'] = ManageLogic::getCacheName($info['online_check']['created_manage_id']); | ||
| 102 | + } | ||
| 99 | return $this->success($info); | 103 | return $this->success($info); |
| 100 | } | 104 | } |
| 101 | public function save($param){ | 105 | public function save($param){ |
-
请 注册 或 登录 后发表评论