新增AI面试相关接口
This commit is contained in:
36
src/ExamService/AiInterviewQuestionInterface.php
Normal file
36
src/ExamService/AiInterviewQuestionInterface.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dhd\Micro\Interface\ExamService;
|
||||
|
||||
interface AiInterviewQuestionInterface
|
||||
{
|
||||
/**
|
||||
* 获取面试题列表
|
||||
* @param array $params 查询参数
|
||||
* @return array
|
||||
*/
|
||||
public function getAiInterviewQuestionList(array $params): array;
|
||||
|
||||
/**
|
||||
* 创建面试题
|
||||
* @param array $params 面试题参数
|
||||
* @return void
|
||||
*/
|
||||
public function createAiInterviewQuestion(array $params): void;
|
||||
|
||||
/**
|
||||
* 更新面试题
|
||||
* @param int $id 面试题id
|
||||
* @param array $params 面试题参数
|
||||
*/
|
||||
public function updateAiInterviewQuestion(int $id, array $params): void;
|
||||
|
||||
/**
|
||||
* 删除面试题
|
||||
* @param int $id 面试题id
|
||||
* @return void
|
||||
*/
|
||||
public function deleteAiInterviewQuestion(int $id): void;
|
||||
}
|
||||
@@ -17,7 +17,8 @@ interface ExamService extends
|
||||
SmartPaperInterface,
|
||||
CampusRelationInterface,
|
||||
PaperImportInterface,
|
||||
QuestionNoteInterface
|
||||
QuestionNoteInterface,
|
||||
AiInterviewQuestionInterface
|
||||
{
|
||||
/**
|
||||
* 开始做卷.
|
||||
|
||||
Reference in New Issue
Block a user