From cba3c123c98d6652496264268947a120becc66d2 Mon Sep 17 00:00:00 2001 From: zj Date: Mon, 21 Sep 2026 08:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8E=B7=E5=8F=96=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E4=B8=80=E6=9D=A1AI=E6=89=B9=E6=94=B9=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/AIService/AiEssayCheckInterface.php | 8 ++++++++ src/AIService/AiInterviewCheckInterface.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/AIService/AiEssayCheckInterface.php b/src/AIService/AiEssayCheckInterface.php index 12462b4..a0dcce5 100644 --- a/src/AIService/AiEssayCheckInterface.php +++ b/src/AIService/AiEssayCheckInterface.php @@ -29,4 +29,12 @@ interface AiEssayCheckInterface * 用户提交申论批改 */ public function submitAiEssay(array $params): int; + + /** + * 获取用户最近一次申论批改记录 + * @param int $userId 用户ID + * @param int $questionId 面试题ID + * @return array|null + */ + public function getEssayQuestionUserLastRecord(int $userId, int $questionId): ?array; } diff --git a/src/AIService/AiInterviewCheckInterface.php b/src/AIService/AiInterviewCheckInterface.php index 2d0a9c1..77a2027 100644 --- a/src/AIService/AiInterviewCheckInterface.php +++ b/src/AIService/AiInterviewCheckInterface.php @@ -39,4 +39,12 @@ interface AiInterviewCheckInterface * @return array */ public function getInterviewQuestionExamTypeList(): array; + + /** + * 获取用户最近一次面试批改记录 + * @param int $userId 用户ID + * @param int $questionId 面试题ID + * @return array|null + */ + public function getInterviewQuestionUserLastRecord(int $userId, int $questionId): ?array; }