...
|
...
|
@@ -29,7 +29,7 @@ class IndexController extends HomeBaseController |
|
|
|
|
|
public function daohang($data,$pid=0){
|
|
|
|
|
|
static $arr = [];
|
|
|
$arr = [];
|
|
|
foreach ($data as $key => $value) {
|
|
|
if($value['parent_id'] == $pid){
|
|
|
$value['son'] = $this -> daohang($data,$value['id']);
|
...
|
...
|
|