quguofeng 2 years ago
parent
commit
fba490836b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      config/apidoc.php

+ 3 - 0
config/apidoc.php

@@ -13,6 +13,9 @@ return [
             'path'=>'app\api\controller',
             // (必须)唯一的key
             'key'=>'api',
+            'items'=>[
+                ['title'=>'V1.0','path'=>'app\api\controller\Login','key'=>'v1'],
+            ]
         ]
     ],
     // (必须)指定通用注释定义的文件地址