mirror of https://gitee.com/karson/fastadmin.git
!215 修复生成API文档相同分组方法名相同被覆盖问题
Merge pull request !215 from HID丨emotion/fix_api_same_methodpull/215/MERGE
commit
541a182a7e
|
|
@ -190,7 +190,7 @@ class Builder
|
|||
if ($subdomain) {
|
||||
$route = substr($route, 4);
|
||||
}
|
||||
$docslist[$section][$name] = [
|
||||
$docslist[$section][$class . $name] = [
|
||||
'id' => $counter,
|
||||
'method' => is_array($docs['ApiMethod'][0]) ? $docs['ApiMethod'][0]['data'] : $docs['ApiMethod'][0],
|
||||
'method_label' => $this->generateBadgeForMethod($docs),
|
||||
|
|
|
|||
Loading…
Reference in New Issue