Commit 2c6d388f by Qiang Xue

doc fix. [skip ci]

parent 99362c89
......@@ -53,6 +53,7 @@ api/
models/
User.php
Post.php
Module.php
v2/
controllers/
UserController.php
......@@ -60,6 +61,7 @@ api/
models/
User.php
Post.php
Module.php
```
Your application configuration would look like:
......@@ -68,14 +70,10 @@ Your application configuration would look like:
return [
'modules' => [
'v1' => [
'basePath' => '@app/modules/v1',
'class' => 'app\modules\v1\Module',
'controllerNamespace' => 'app\modules\v1\controllers',
],
'v2' => [
'basePath' => '@app/modules/v2',
'class' => 'app\modules\v2\Module',
'controllerNamespace' => 'app\modules\v2\controllers',
],
],
'components' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment