Browse Source

添加分屏接口

SanHQin 4 months ago
parent
commit
6633e91598
1 changed files with 11 additions and 0 deletions
  1. 11 0
      pbl.js

+ 11 - 0
pbl.js

@@ -8368,6 +8368,17 @@ router.route('/update_testCourseCoverById').all((req,res,next)=>{
 	postmysql(req,res,'update_testCourseCoverById')
 })
 
+//qgt 修改课程的分屏数据
+router.route('/update_courseSplitScreenData').all((req,res,next)=>{
+	postmysql(req,res,'update_courseSplitScreenData')
+})
+
+//qgt 获取课程的分屏数据
+router.route('/select_courseSplitScreenData').all((req,res,next)=>{
+	var json = queryString(req.url);
+	getmysql(req, res, "select_courseSplitScreenData", json["cid"]);
+})
+
 //教师管理 查看填写范围的教师权限
 router.route("/getTestWorkTeacherCount").all((req,res,next)=>{
 	postmysql(req, res, "getTestWorkTeacherCount");