合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
>[warning] 使用前必须引入**Organization**模型 use app\common\model\sys\Organization as OrgModel; #### getAllChildIds()-获取指定的组织机构节点下的所有的子组织机构节点的编号 >[info] getAllChildIds($orgId,&$res=array()){} ### 参数 * orgId:组织机构编号 * res:输出参数,结果集 >[success]示例代码 ```php $this->model = new OrgModel; $ids ='';//组织结构编号 $arrIds =array(); if($ids){ $this->model->getAllChildIds($ids,$arrIds); } ```