mirror of https://gitee.com/karson/fastadmin.git
parent
fea7b3021a
commit
a909967bd4
|
|
@ -205,6 +205,7 @@ class Builder
|
||||||
if ($subdomain) {
|
if ($subdomain) {
|
||||||
$route = substr($route, 4);
|
$route = substr($route, 4);
|
||||||
}
|
}
|
||||||
|
$route = str_replace('.', '/', $route);
|
||||||
$docsList[$section][$name] = [
|
$docsList[$section][$name] = [
|
||||||
'id' => $counter,
|
'id' => $counter,
|
||||||
'method' => is_array($docs['ApiMethod'][0]) ? $docs['ApiMethod'][0]['data'] : $docs['ApiMethod'][0],
|
'method' => is_array($docs['ApiMethod'][0]) ? $docs['ApiMethod'][0]['data'] : $docs['ApiMethod'][0],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue