diff --git a/src/ExamService/JsonRpcInterface/AiEssayQuestionInterface.php b/src/ExamService/JsonRpcInterface/AiEssayQuestionInterface.php index 14d94fa..aed92d0 100644 --- a/src/ExamService/JsonRpcInterface/AiEssayQuestionInterface.php +++ b/src/ExamService/JsonRpcInterface/AiEssayQuestionInterface.php @@ -10,13 +10,14 @@ interface AiEssayQuestionInterface * @return array */ public function getAiEssayQuestionList(array $params): array; - + /** * app获取AI申论题列表 + * @param int $userId 用户ID * @param array $params 查询参数 * @return array */ - public function appGetAiEssayQuestionList(array $params): array; + public function appGetAiEssayQuestionList(int $userId, array $params): array; /** * 获取AI申论题详情 diff --git a/src/ExamService/JsonRpcInterface/AiInterviewQuestionInterface.php b/src/ExamService/JsonRpcInterface/AiInterviewQuestionInterface.php index db15edf..74edf5f 100644 --- a/src/ExamService/JsonRpcInterface/AiInterviewQuestionInterface.php +++ b/src/ExamService/JsonRpcInterface/AiInterviewQuestionInterface.php @@ -13,10 +13,11 @@ interface AiInterviewQuestionInterface /** * app获取面试题列表 + * @param int $userId 用户ID * @param array $params 查询参数 * @return array */ - public function appGetAiInterviewQuestionList(array $params): array; + public function appGetAiInterviewQuestionList(int $userId, array $params): array; /** * 管理端获取面试题列表(平台方法):在通用列表基础上逐行附加音频生成状态 audio