lsc 2 anni fa
parent
commit
0a084c5a47
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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");