Procházet zdrojové kódy

查询分类及所有子分类

zengyicheng před 2 roky
rodič
revize
0add5717d1
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      pbl.js

+ 2 - 2
pbl.js

@@ -1722,12 +1722,12 @@ router.route('/selectUser').all((req, res, next) => {
 //查询分类及所有子分类
 router.route('/selectAllType').all((req, res, next) => {
     var json = queryString(req.url);
-    getmysql(req, res, "selectAllType", );
+    getmysql(req, res, "selectAllType", json['org'], json['oid']);
 });
 //查询分类及子分类
 router.route('/selectType').all((req, res, next) => {
     var json = queryString(req.url);
-    getmysql(req, res, "selectType", json['org'], json['oid']);
+    getmysql(req, res, "selectType", );
 });
 //查询分类及子分类
 router.route('/selectStudentType').all((req, res, next) => {