瀏覽代碼

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-api

lsc 2 年之前
父節點
當前提交
30a5e8dadb
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -954,6 +954,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);