Dingo配置路由,终端里打印路由一直出现这个问题。
[SymfonyComponentDebugExceptionFatalThrowableError]
这是我的配置的路由
$api = app('DingoApiRoutingRouter');
$api->version('v1',function($api){
$api->group(['namespace'=>'App\Api\Controllers'],function($api){
$api->get('lessons','LessonsController@index');
});
});
路径信息
appApiControllersLessonsController.php
希望能解答,卡在这里了。一直找不到答案。