Parcourir la source

新增我的项目查询功能

zengyicheng il y a 2 ans
Parent
commit
e941348ab3
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -226,6 +226,12 @@ router.route('/getProject').all((req, res, next) => {
     getmysql(req, res, "selectProject", json['type'], json['uid'], json['oid'], json['cn'], json['page'], 10);
 });
 
+//查询项目
+router.route('/getMyProject').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectMyProject", json['uid'], json['page'], 10);
+});
+
 //查询项目成员
 router.route('/selectProjectStudent').all((req, res, next) => {
     var json = queryString(req.url);