新增获取最新一条AI批改接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user