【发布时间】:2019-01-27 08:16:58
【问题描述】:
BindingResolutionException
在构建 [App\Services\AuthService, GenTux\Jwt\JwtToken] 时,目标 [GenTux\Jwt\Drivers\JwtDriverInterface] 不可实例化
【问题讨论】:
标签: jwt access-token lumen
BindingResolutionException
在构建 [App\Services\AuthService, GenTux\Jwt\JwtToken] 时,目标 [GenTux\Jwt\Drivers\JwtDriverInterface] 不可实例化
【问题讨论】:
标签: jwt access-token lumen
通过在注册服务提供商部分的bootstrap/app.php 中添加以下行解决了我的问题:
$app->register(GenTux\Jwt\Support\LumenServiceProvider::class);
【讨论】: