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; }