1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- return [
-
- 'title'=>'APi接口文档',
-
- 'copyright'=>'Powered By HG',
-
- 'controllers' => [
- 'api\\controller\\Sms',
- 'api\\controller\\Login',
- 'api\\controller\\Publics',
- 'api\\controller\\User',
- 'api\\controller\\Index',
- ],
-
- 'definitions'=>"app\controller\Definitions",
-
- 'versions'=>[
- ['title'=>'V1.0','folder'=>'']
- ],
-
- 'groups'=>[
- ['title'=>'公共部分','name'=>'pub'],
- ['title'=>'用户端','name'=>'user'],
- ['title'=>'设计师端','name'=>'sheji'],
- ],
-
- 'with_cache'=>false,
-
- 'responses'=>'{
- "code":"状态码",
- "message":"操作描述",
- "data":"业务数据",
- "timestamp":"响应时间戳"
- }',
-
- 'global_auth_key'=>"Authorization",
-
- 'auth'=>[
-
- 'with_auth'=>false,
-
- 'auth_password'=>"123456",
-
- 'headers_key'=>"apidocToken",
- ],
-
- 'filter_method'=>[
- '_empty',
- '_initialize',
- '__construct',
- '__destruct',
- '__get',
- '__set',
- '__isset',
- '__unset',
- '__cal',
- ],
- ];
|