From 94352fef1291ed66bba8f9fcdd99faff43be719b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A0=82=E5=90=89=E8=AF=83=E5=BE=B7=E6=8B=89=E6=9B=BC?= =?UTF-8?q?=E6=9F=A5=E7=9A=84=E8=8B=B1=E8=B1=AA?= Date: Tue, 18 Aug 2026 13:47:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E8=80=83=E8=AF=95=E8=81=9A?= =?UTF-8?q?=E5=90=88=E5=A5=91=E7=BA=A6=E7=9A=84=E5=81=9A=E5=8D=B7=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ExamService/ExamService.php | 15 +-------------- src/ExamService/SmartPaperInterface.php | 15 --------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/src/ExamService/ExamService.php b/src/ExamService/ExamService.php index 39d3494..a198b8e 100644 --- a/src/ExamService/ExamService.php +++ b/src/ExamService/ExamService.php @@ -15,25 +15,12 @@ interface ExamService extends QuestionTypeInterface, QuestionCategoryInterface, SmartPaperInterface, + UserPaperInterface, CampusRelationInterface, PaperImportInterface, QuestionNoteInterface, AiInterviewQuestionInterface { - /** - * 开始做卷. - */ - public function startDoPaper(int $userId, int $paperId): array; - - /** - * 获取用户试卷详情. - */ - public function getUserPaperDetail(int $paperRecordId, bool $getCorrect): array; - - /** - * 获取用户试卷记录列表. - */ - public function getUserPaperList(array $params, int $userId): array; /** * 获取练习列表. */ diff --git a/src/ExamService/SmartPaperInterface.php b/src/ExamService/SmartPaperInterface.php index 49ea8a7..8e01149 100644 --- a/src/ExamService/SmartPaperInterface.php +++ b/src/ExamService/SmartPaperInterface.php @@ -22,21 +22,6 @@ interface SmartPaperInterface */ public function getUserSmartPaperDetail(int $paperRecordId, bool $getCorrect): array; - /** - * 提交题目答案 - * @param array $params 参数:paper_record_id, question_id, user_answer, used_time - * @param int $userId 用户ID - * @return array - */ - public function submitAnswer(array $params, int $userId): array; - - /** - * 提交用户试卷 - * @param array $params 参数:paper_record_id, used_time - * @return array - */ - public function submitUserPaper(array $params): array; - /** * 获取用户试卷历史列表 * @param array $params 参数:campus_id, exam_type_id, page, limit