Sfoglia il codice sorgente

feat(pbl): add cocoStudy组卷中心相关接口

新增insert和select接口用于试卷题目数据的增查
SanHQin 4 giorni fa
parent
commit
b2e41cf57b
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      pbl.js

+ 10 - 0
pbl.js

@@ -10402,6 +10402,16 @@ router.route("/insertCocoStudyClass").all((req,res,next)=>{
 	postmysql(req, res, "insertCocoStudyClass");
 })
 
+// qgt cocoStudy组卷中心添加试卷/题目
+router.route("/insert_cocoStudyQuestion").all((req,res,next)=>{
+	postmysql(req, res, "insert_cocoStudyQuestion");
+})
+
+// qgt 查询cocoStudy组卷中心添加试卷/题目
+router.route("/select_cocoStudyQuestionByUid").all((req,res,next)=>{
+	var json = queryString(req.url);
+  getmysql(req, res, "select_cocoStudyQuestionByUid",json["uid"],json["type"]);
+})
 
 //教师管理 查看填写范围的教师权限
 router.route("/getTestWorkTeacherCount").all((req,res,next)=>{