$str = '';
$res = $this->getListsubid(['dept_id' => 1]);// 根数据
$idsStr = $this->handleDeptIds($res, $str);
// 处理数据
protected function handleDeptIds(&$res
php递归获取钉钉所有部门ID
最新推荐文章于 2024-12-14 19:05:48 发布
$str = '';
$res = $this->getListsubid(['dept_id' => 1]);// 根数据
$idsStr = $this->handleDeptIds($res, $str);
// 处理数据
protected function handleDeptIds(&$res