You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
616 B
23 lines
616 B
<?php |
|
|
|
use think\facade\App; |
|
|
|
return [ |
|
// 获取接口文档的路径列表 |
|
"get_path" => [ |
|
[ |
|
'path' => App::getRootPath() . 'app/Api/Controller', |
|
'namespace' => "App\\Api\\Controller", |
|
'namespace_root' => App::getRootPath() . 'app/Api/Controller', |
|
], |
|
[ |
|
'path' => App::getRootPath() . 'plugins/*/Api/Controller', |
|
'namespace' => "Plugins", |
|
'namespace_root' => App::getRootPath() . 'plugins', |
|
], |
|
], |
|
// 路由加载路径 |
|
'load_route' => [ |
|
App::getRootPath() . 'app/Api/route' |
|
] |
|
];
|
|
|