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; + /** * 管理端题目分页列表:支持题型/科目/分类/选项类型/状态/题干关键词/招考地区筛选。 */