|
...
|
...
|
@@ -74,12 +74,11 @@ class NavController extends BaseController |
|
|
|
$items = $matchingDetail;
|
|
|
|
}
|
|
|
|
if (!empty($item['sub']) && is_array($item['sub'])) {
|
|
|
|
$items['sub'] = $this->findDetailsList($item['sub'], $detailsList);
|
|
|
|
$items['sub'] = $this->findDetailsList($item['sub'], $detailsList)['result'];
|
|
|
|
}
|
|
|
|
$result[] = $items;
|
|
|
|
}
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(count($detailsList), true) . PHP_EOL, FILE_APPEND);
|
|
|
|
return $result;
|
|
|
|
return ['result'=>$result,'detailsList'=>$detailsList];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
...
|
...
|
|