正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -30,7 +30,7 @@ class ProjectUserController extends BaseController | @@ -30,7 +30,7 @@ class ProjectUserController extends BaseController | ||
| 30 | */ | 30 | */ |
| 31 | public function lists(){ | 31 | public function lists(){ |
| 32 | $userModel = new UserModel(); | 32 | $userModel = new UserModel(); |
| 33 | - $query = $userModel->leftJoin('gl_project', 'gl_project_user.project_id', '=', 'gl_project.id')->where('gl_project_role.role_id',$this::ROLE_ID); | 33 | + $query = $userModel->leftJoin('gl_project', 'gl_project_user.project_id', '=', 'gl_project.id')->where('gl_project_user.role_id',$this::ROLE_ID); |
| 34 | $query = $this->searchParam($query); | 34 | $query = $this->searchParam($query); |
| 35 | $lists = $query->paginate($this->row, $this->selectParam(), 'page', $this->page); | 35 | $lists = $query->paginate($this->row, $this->selectParam(), 'page', $this->page); |
| 36 | $this->response('列表',Code::SUCCESS,$lists); | 36 | $this->response('列表',Code::SUCCESS,$lists); |
-
请 注册 或 登录 后发表评论