组件列表
"aliyuncs/oss-sdk-php": "^2.4",
"illuminate/cookie": "^8.83",
"illuminate/redis": "^8.83",
"jenssegers/mongodb": "^3.5",
"laravel/lumen-framework": "^8.0",
"overtrue/easy-sms": "^2.4",
"socialiteproviders/qq": "^4.1",
"socialiteproviders/weixin-web": "^4.1",
"symfony/psr-http-message-bridge": "^2.2",
"tymon/jwt-auth": "^1.0",
"yansongda/pay": "~3.1.0"
tymon/jwt-auth
# 安装
composer require tymon/jwt-auth
# bootstrap/app.php 注册组件
$app->register(Tymon\JWTAuth\Providers\LumenServiceProvider::class);
# 更新jwt秘钥
php artisan jwt:generate
# Bearer 模式使用, 在header增加
Authorization: Bearer <token>
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 [email protected]