摘要: public function arr2tree($list, $id = 'id', $pid = 'pid', $son = 'children') { list($tree, $map) = [[], []]; $map = array_column($list, null, $id); fo 阅读全文
posted @ 2022-06-14 13:49 可爱香草 阅读(10) 评论(0) 推荐(0)