소스 검색

根据组织id查询子分类

zengyicheng 2 년 전
부모
커밋
4c4b86061a
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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);