Browse Source

根据组织id查询子分类

zengyicheng 2 years ago
parent
commit
4c4b86061a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -949,6 +949,12 @@ router.route('/selectTypeByOid').all((req, res, next) => {
     getmysql(req, res, "selectTypeByOid", json["oid"]);
 });
 
+//根据组织id查询子分类
+router.route('/selectTypeByOrg').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectTypeByOrg", json["oid"]);
+});
+
 //更加父id查询分类
 router.route('/selectTypeByPid').all((req, res, next) => {
     var json = queryString(req.url);