请问这种目录结构,module下的应用,如何使用自动路由
app
├── controller
│ └── BaseController.php
├── validate
│ └── BaseValidator.php
└── view
...
module
├── admin
│ ├── controller
│ │ ├── BaseController.php
│ │ └── IndexController.php
│ └── route.php
└── client
├── controller
│ ├── AuthController.php
│ ├── BaseController.php
│ └── SmsController.php
├── logic
│ ├── AuthLogic.php
│ └── SmsLogic.php
├── middleware
│ └── Auth.php
├── route.php
└── validate
├── AuthValidator.php
├── BaseValidator.php
└── SmsValidator.php
1个回答
module 放到app下就可以自动路由了