|
@@ -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");
|