param(); [$page, $limit] = $this->getPage(); $data['create_user_id'] = $this->userId; $res = UserInformationg::list($data,$page,$limit); if ($res != true) { return $this->fail( BaseLogic::getError()); } return $this->success('成功', $res->toArray()); } public function add() { $param = Request()->param(); $param['admin_id'] = $this->userId; $res = UserInformationg::add($param); if ($res != true) { return $this->fail( BaseLogic::getError()); } return $this->success('成功'); } }