lsc 2 năm trước cách đây
mục cha
commit
f7fe86aad0
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -919,7 +919,12 @@ router.route('/addWorkNew3').all((req, res, next) => {
     }
 
 });
+router.route('/addInviteCode').all((req, res, next) => {
+    if (req.body[0]) {
+        delCourseInviteCode(ret[0][0].courseId,ret[0][0].inviteCode)
+    }
 
+});
 function delCourseInviteCode(courseId, inviteCode){
     let _courseId = courseId;
     var _userdata = [