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