lsc 2 年之前
父節點
當前提交
0a084c5a47
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -2392,6 +2392,12 @@ router.route('/deleteCourseAdmin').all((req, res, next) => {
 router.route('/setCourseGroup').all((req, res, next) => {
     postmysql(req, res, "setCourseGroup");
 });
+//获取分组
+router.route('/getCourseGroup').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "getCourseGroup", json["cid"], json["classid"]);
+});
+
 //加入分组
 router.route('/joinGroup').all((req, res, next) => {
     postmysql(req, res, "joinGroup");