Merge remote-tracking branch 'origin/main'
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;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Dhd\Micro\Interface\ExamService;
|
||||
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\ExamServiceInterface;
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\UserPaperInterface;
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\AiInterviewCategoryInterface;
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\AiInterviewQuestionInterface;
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\CustomQuestionInterface;
|
||||
use Dhd\Micro\Interface\ExamService\JsonRpcInterface\PaperInterface;
|
||||
@@ -23,6 +24,7 @@ use Dhd\Micro\Interface\ExamService\JsonRpcInterface\AiEssayQuestionInterface;
|
||||
interface ExamService extends
|
||||
ExamServiceInterface,
|
||||
UserPaperInterface,
|
||||
AiInterviewCategoryInterface,
|
||||
AiInterviewQuestionInterface,
|
||||
CustomQuestionInterface,
|
||||
PaperInterface,
|
||||
|
||||
@@ -10,6 +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(int $userId, array $params): array;
|
||||
|
||||
/**
|
||||
* 获取AI申论题详情
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace Dhd\Micro\Interface\ExamService\JsonRpcInterface;
|
||||
|
||||
interface AiInterviewCategoryInterface
|
||||
{
|
||||
/**
|
||||
* 获取AI面试类型列表
|
||||
* @param array $params 查询参数
|
||||
* @return array
|
||||
*/
|
||||
public function getAiInterviewCategoryList(array $params): array;
|
||||
|
||||
/**
|
||||
* 获取AI面试类型下拉列表
|
||||
* @return array
|
||||
*/
|
||||
public function getAiInterviewCategorySelectList(): array;
|
||||
|
||||
/**
|
||||
* 创建AI面试类型
|
||||
* @param array $params 创建参数
|
||||
*/
|
||||
public function createAiInterviewCategory(array $params): void;
|
||||
|
||||
/**
|
||||
* 更新AI面试类型
|
||||
* @param int $id 类型ID
|
||||
* @param array $params 更新参数
|
||||
*/
|
||||
public function updateAiInterviewCategory(int $id, array $params): void;
|
||||
|
||||
/**
|
||||
* 删除AI面试类型
|
||||
* @param int $id 类型ID
|
||||
*/
|
||||
public function deleteAiInterviewCategory(int $id): void;
|
||||
}
|
||||
@@ -11,6 +11,14 @@ interface AiInterviewQuestionInterface
|
||||
*/
|
||||
public function getAiInterviewQuestionList(array $params): array;
|
||||
|
||||
/**
|
||||
* app获取面试题列表
|
||||
* @param int $userId 用户ID
|
||||
* @param array $params 查询参数
|
||||
* @return array
|
||||
*/
|
||||
public function appGetAiInterviewQuestionList(int $userId, array $params): array;
|
||||
|
||||
/**
|
||||
* 管理端获取面试题列表(平台方法):在通用列表基础上逐行附加音频生成状态 audio
|
||||
* @param array $params 查询参数,同 getAiInterviewQuestionList
|
||||
|
||||
Reference in New Issue
Block a user