Browse Source

查询作业详情功能

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

+ 5 - 1
pbl.js

@@ -231,7 +231,11 @@ router.route('/addCourseWorks').all((req, res, next) => {
     postmysql(req, res, "addCourseWorks");
 });
 
-
+//查询作业详情
+router.route('/selectWorksDetail2').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectWorksDetail2", json['uid'], json['cid'], json['stage'], json['task']);
+});
 
 router.route('/addWorkNew').all((req, res, next) => {
     // postmysql(req, res, "insert_teacher_work_new");