From 88ffa75eb5410463dd974b9d3c54874ab1401c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A0=82=E5=90=89=E8=AF=83=E5=BE=B7=E6=8B=89=E6=9B=BC?= =?UTF-8?q?=E6=9F=A5=E7=9A=84=E8=8B=B1=E8=B1=AA?= Date: Tue, 8 Sep 2026 14:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E7=9B=AE=E7=AE=A1=E7=90=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=88=9B=E5=BB=BA=E4=B8=8E=E6=9D=90=E6=96=99=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=BF=9D=E5=AD=98=E5=A5=91=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ExamService/JsonRpcInterface/QuestionInterface.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ExamService/JsonRpcInterface/QuestionInterface.php b/src/ExamService/JsonRpcInterface/QuestionInterface.php index 8979025..7c15346 100644 --- a/src/ExamService/JsonRpcInterface/QuestionInterface.php +++ b/src/ExamService/JsonRpcInterface/QuestionInterface.php @@ -35,6 +35,16 @@ interface QuestionInterface public function deleteQuestion(int $id): array; + /** + * 管理端题库新增题目:题库级录入(普通题目,不带材料),返回新题目ID。 + */ + public function adminCreateQuestion(array $data): int; + + /** + * 管理端题目材料内容保存:仅更新关联材料内容,绑定关系不变;返回受影响题目数。 + */ + public function adminUpdateQuestionMaterial(int $id, string $content): int; + /** * 管理端题目分页列表:支持题型/科目/分类/选项类型/状态/题干关键词/招考地区筛选。 */