-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
return [
'inject' => [
'enable' => true,
'namespaces' => [],
],
'route' => [
'enable' => true,
'cache' => !extension_loaded('swoole'), // Swoole环境下禁用缓存
'controllers' => [
app_path('controller/api') => [
'name' => 'api',
'middleware' => [],
],
],
],
'model' => [
'enable' => true,
],
'ignore' => [],
];配置如下 实际http://localhost:9501/api/index/index 请求的是app\controller目录的index.php 我需要的是请求app\controller\api\index.php,无法正常使用希望修复问题。非swoole模式下正常
Metadata
Metadata
Assignees
Labels
No labels