auth->getUser();//登录用户 if($user)$user_id = $user['id']; $page = $this->request->get('page/d', 0); //页数 $limit = $this->request->get('limit/d', 0); //条数 try{ //当前申请状态 $res = Images::allList($page, $limit); }catch (\Exception $e){ $this->error($e->getMessage()); } $this->success('查询成功', $res); } }