增加AI面试批改相关接口
This commit is contained in:
@@ -9,4 +9,5 @@ declare(strict_types=1);
|
||||
namespace Dhd\Micro\Interface\AIService;
|
||||
|
||||
interface AIService extends
|
||||
AiEssayCheckInterface {}
|
||||
AiEssayCheckInterface,
|
||||
AiInterviewCheckInterface {}
|
||||
|
||||
36
src/AIService/AiInterviewCheckInterface.php
Normal file
36
src/AIService/AiInterviewCheckInterface.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* AI面试批改相关接口
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dhd\Micro\Interface\AIService;
|
||||
|
||||
interface AiInterviewCheckInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* 获取用户批改记录
|
||||
* @param int $userId 用户ID
|
||||
* @param array $params 查询参数
|
||||
* @return array
|
||||
*/
|
||||
public function getAiInterviewCheckHistoryList(int $userId, array $params): array;
|
||||
|
||||
/**
|
||||
* 获取面试批改详情
|
||||
* @param int $id 记录ID
|
||||
* @return array|null
|
||||
*/
|
||||
public function getAiInterviewCheckDetail(int $id): ?array;
|
||||
|
||||
/**
|
||||
* 提交面试批改
|
||||
* @param int $userId 用户ID
|
||||
* @param array $params 提交参数
|
||||
* @return int 记录ID
|
||||
*/
|
||||
public function submitAiInterviewCheck(int $userId, array $params): int;
|
||||
}
|
||||
Reference in New Issue
Block a user