Commit a9e10285 authored by wangzhengwen's avatar wangzhengwen

项目详情

parent 85d24c85
...@@ -73,9 +73,6 @@ class Cert extends BaseController ...@@ -73,9 +73,6 @@ class Cert extends BaseController
$list['data'][] = $dd; $list['data'][] = $dd;
$list['data'][] = $dd; $list['data'][] = $dd;
$list['data'][] = $dd; $list['data'][] = $dd;
$list['data'][] = $dd;
$list['data'][] = $dd;
$list['data'][] = $dd;
return $this->returnMsg('success',1,$list); return $this->returnMsg('success',1,$list);
} }
......
...@@ -154,7 +154,7 @@ class Project extends Model ...@@ -154,7 +154,7 @@ class Project extends Model
//项目详情 //项目详情
public function projectDetail($id, $userId) public function projectDetail($id, $userId)
{ {
$project = self::find($id); $project = self::with(['getuserdata','projectcatedata'])->find($id);
if (!$project) { if (!$project) {
return []; return [];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment