Api文档
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.

24 lines
616 B

1 year ago
<?php
10 months ago
use think\facade\App;
1 year ago
return [
// 获取接口文档的路径列表
"get_path" => [
[
10 months ago
'path' => App::getRootPath() . 'app/Api/Controller',
10 months ago
'namespace' => "App\\Api\\Controller",
10 months ago
'namespace_root' => App::getRootPath() . 'app/Api/Controller',
1 year ago
],
[
10 months ago
'path' => App::getRootPath() . 'plugins/*/Api/Controller',
'namespace' => "Plugins",
'namespace_root' => App::getRootPath() . 'plugins',
1 year ago
],
10 months ago
],
// 路由加载路径
'load_route' => [
App::getRootPath() . 'app/Api/route'
1 year ago
]
];