作者 anyv
1 个管道 的构建 通过 耗费 0 秒

首页

... ... @@ -32,8 +32,9 @@ class IndexController extends HomeBaseController
static $arr = [];
foreach ($data as $key => $value) {
if($value['parent_id'] == $pid){
$value['son'] = $this -> daohang($data,$value['id']);
$arr[] = $value;
$this -> daohang($data,$value['id']);
}
}
return $arr;
... ...