瀏覽代碼

查询学生课程作业

zengyicheng 2 年之前
父節點
當前提交
97dc379236
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      pbl.js

+ 5 - 2
pbl.js

@@ -2109,8 +2109,11 @@ router.route('/getCourseWorks3').all((req, res, next) => {
     var json = queryString(req.url); //cid 课程id,page 页数
     getmysql(req, res, "select_courseWorks3", json['cid'], json['uname'], json['stage'], json['task'], json['page'], 10);
 });
-
-
+//查询学生课程作业
+router.route('/selectStudentCourseWorks').all((req, res, next) => {
+    var json = queryString(req.url); //cid 课程id,page 页数
+    getmysql(req, res, "selectStudentCourseWorks", json['uid'], json['cid'], json['stage'], json['task'], json['page'], 10);
+});
 //查询报告数据
 router.route('/getCourseWorksReport').all((req, res, next) => {
     var json = queryString(req.url); //cid 课程id,page 页数