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

+ 5 - 0
pbl.js

@@ -409,6 +409,11 @@ router.route('/addCourseWorks2').all((req, res, next) => {
     var json = queryString(req.url);
     getmysql(req, res, "addCourseWorks", json['uid'], json['cid'], json['stage'], json['task'], json['tool'], json['content'], json['type']);
 });
+//上传文件
+router.route('/addCourseWorks3').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "addCourseWorks2", json['uid'], json['cid'], json['stage'], json['task'], json['tool'], json['content'], json['type'], json['atool']);
+});
 //修改课程权限(学生是否能查看所有作业)
 router.route('/updateCourseSLook').all((req, res, next) => {
     var json = queryString(req.url);