request->post(); $params['user_id'] = $this->userId; $result = InterviewConfigLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 0); } return $this->fail(InterviewJobLogic::getError()); } public function detail() { $params = $this->request->post(); $params['user_id'] = $this->userId; $result = InterviewConfigLogic::detail($params); if (true === $result) { return $this->success('编辑成功', InterviewConfigLogic::getReturnData(), 1); } return $this->fail(InterviewJobLogic::getError()); } }