Просмотр исходного кода

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-api

lsc 6 дней назад
Родитель
Сommit
642208040d
1 измененных файлов с 25 добавлено и 0 удалено
  1. 25 0
      pbl.js

+ 25 - 0
pbl.js

@@ -1217,6 +1217,12 @@ router.route("/addTipsTemplateCom").all((req, res, next) => {
     postmysql(req, res, "addTipsTemplateCom");
 });
 
+// 学生学习时间 yym
+router.route("/updateStudyTime").all((req, res, next) => {
+    postmysql(req, res, "updateStudyTime");
+});
+
+
 //删除提示词模板
 router.route("/deleteTipsTemplate").all((req, res, next) => {
     postmysql(req, res, "deleteTipsTemplate");
@@ -10571,6 +10577,25 @@ router.route("/copyTest_selectId").all((req,res,next)=>{
 	postmysql(req, res, "copyTest_selectId");
 })
 
+//qgt Cocostudy-组卷中心-修改组卷/题目content
+router.route("/update_cocoStudyQuestionContent").all((req,res,next)=>{
+	postmysql(req, res, "update_cocoStudyQuestionContent");
+})
+
+//qgt CocoStudy-组卷中心-查询题目列表
+router.route("/select_cocoStudyQuestionByIdList").all((req,res,next)=>{
+	var json = queryString(req.url);
+	getmysql(req, res, "select_cocoStudyQuestionByIdList",json["uid"],json["idList"]);
+})
+
+//qgt CocoStudy-组卷中心-查询组卷的使用列表
+router.route("/select_cocoStudyTestByTPid").all((req,res,next)=>{
+	var json = queryString(req.url);
+	getmysql(req, res, "select_cocoStudyTestByTPid",json["uid"],json["tpid"]);
+})
+
+
+
 //教师管理 查看填写范围的教师权限
 router.route("/getTestWorkTeacherCount").all((req,res,next)=>{
 	postmysql(req, res, "getTestWorkTeacherCount");