diff --git a/src/ExamService/ExamService.php b/src/ExamService/ExamService.php index 16a7fe9..2dca330 100644 --- a/src/ExamService/ExamService.php +++ b/src/ExamService/ExamService.php @@ -33,4 +33,44 @@ interface ExamService extends * 获取用户试卷记录列表. */ public function getUserPaperList(array $params, int $userId): array; + + /** + * 获取练习列表. + */ + public function getPracticeList(int $userId): array; + + /** + * 获取练习详情. + */ + public function getPracticeDetail(int $userId, int $id): array; + + /** + * 提交练习答案. + */ + public function submitPractice(int $userId, int $paperId, array $answers): array; + + /** + * 开始考试(V1 兼容接口). + */ + public function startExam(array $params): array; + + /** + * 提交考试(V1 兼容接口). + */ + public function submitExam(array $params): array; + + /** + * 获取用户考试记录列表(V1 兼容接口). + */ + public function getUserExamRecords(array $params): array; + + /** + * 获取考试记录详情(V1 兼容接口). + */ + public function getExamRecordDetail(int $recordId, int $userId): array; + + /** + * 获取考试记录题目列表(V1 兼容接口). + */ + public function getByRecordId(int $userId, int $recordId): array; }