小编Mai*_*inh的帖子

将值插入到 laravel 5.4 中 oauth_access_tokens 中的新列

我在 Laravel Passport 中使用授予个人密码,并为每个设备oauth_access_tokens添加了新的“设备”列access_token
当我向 发出请求时,它会在表中http://example.com/oauth/token创建令牌,但列是。 oauth_access_tokenoauth_refresh_token" device"null

我可以更新"device"列,但如何在同一请求中设置“设备”列的值http://example.com/oauth/token

php laravel-5 laravel-passport

5
推荐指数
0
解决办法
618
查看次数

标签 统计

laravel-5 ×1

laravel-passport ×1

php ×1