DingoApi 的自定义认证?到底要怎么优雅的使用?
我看着文档来在AppServiceProvider
添加
app(\Dingo\Api\Auth\Auth::class)->extend('custom', function ($app) {
return new CustomProvider;
});
但是一直报错 Class CustomProvider does not exist
推荐文章: