新增智能新建题目功能
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user