摘要: public function get_tree(){ //递归遍历数组; $items=[]; foreach($position as $k=>$v){ $items[$v['id']]=$v; } $tree=[]; foreach($items as ... 阅读全文
posted @ 2018-07-06 15:40 王芬老师 阅读(121) 评论(0) 推荐(0) 编辑