lsc 2 年之前
父节点
当前提交
99d560eb6b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -753,6 +753,11 @@ router.route('/selectInviteCode').all((req, res, next) => {
     var json = queryString(req.url);
     getmysql(req, res, "selectInviteCode", json['code']);
 });
+/* 根据随机码获取学校 */
+router.route('/selectCourseByIc').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectCourseByIc", json['code']);
+});
 
 router.route('/addWorkNew').all((req, res, next) => {
     // postmysql(req, res, "insert_teacher_work_new");