From 0a55a81467a96bd255c9d822e22430738c52f598 Mon Sep 17 00:00:00 2001 From: zj Date: Fri, 31 Jul 2026 15:25:54 +0800 Subject: [PATCH] update --- README.md | 5 ++++- src/AIService/AiEssayCheckInterface.php | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b30f1d3..9ea0d3a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # hyperf_micro_service_core_interface -app微服务,服务接口汇总 \ No newline at end of file +app微服务,服务接口汇总 + +### update +composer update dhd/hyperf-micro-service-core-interface \ No newline at end of file diff --git a/src/AIService/AiEssayCheckInterface.php b/src/AIService/AiEssayCheckInterface.php index 3677593..cfc7c77 100644 --- a/src/AIService/AiEssayCheckInterface.php +++ b/src/AIService/AiEssayCheckInterface.php @@ -10,6 +10,21 @@ namespace Dhd\Micro\Interface\AIService; interface AiEssayCheckInterface { + /** + * 获取用户批改记录 + * @param int $userId 用户ID + * @param array $params 查询参数 + * @return array + */ + public function getEssayCheckHistoryList(int $userId, array $params): array; + + /** + * 获取论文批改详情 + * @param int $id 记录ID + * @return ?array + */ + public function getEssayCheckDetail(int $id): ?array; + /** * 用户提交申论批改 */