摘要: public function build($data,$parentid=0){//分级数组 $tree=[]; foreach ($data as $node){ if($node["parentid"]==$parentid){ $children = $this->build($data,$ 阅读全文
posted @ 2017-05-15 14:09 天启者 阅读(353) 评论(0) 推荐(0) 编辑