摘要: public static function ListToTree($list, $primaryKey='id', $parentKey = 'up_id', $childStr = 'children', $root = 0) { $tree = array(); if (is_array($l 阅读全文
posted @ 2021-05-21 15:48 可爱香草 阅读(9) 评论(0) 推荐(0)