新增智能新建题目功能

This commit is contained in:
2025-11-17 22:55:28 +08:00
parent 0fff276e59
commit e3366af9ec
9 changed files with 834 additions and 57 deletions
+2
View File
@@ -286,6 +286,8 @@ func init() {
// 考试题目路由
beego.Router("/api/exam-questions", &controllers.ExamQuestionController{}, "get:GetList;post:Create")
beego.Router("/api/exam-questions/:id", &controllers.ExamQuestionController{}, "get:GetDetail;put:Update;delete:Delete")
// 题目批量导入路由
beego.Router("/api/exam-questions/batch", &controllers.ExamQuestionController{}, "post:BatchCreate")
// 考试题库路由
beego.Router("/api/exam-question-banks", &controllers.ExamQuestionBankController{}, "get:GetBankList;post:CreateBank")