novalevel opened this issue 8 years ago · 2 comments
两端的路由都加这个middleware可以吗?
在web和api端分别手动配置: config(['laravel-sms.routeAttributes.middleware' => 'web']) config(['laravel-sms.routeAttributes.middleware' => 'api'])
config(['laravel-sms.routeAttributes.middleware' => 'web'])
config(['laravel-sms.routeAttributes.middleware' => 'api'])