Commit d714d49e authored by macro's avatar macro
Browse files

JWT tokenHead修改

parent 4befc2f5
......@@ -15,7 +15,7 @@ jwt:
tokenHeader: Authorization #JWT存储的请求头
secret: mall-admin-secret #JWT加解密使用的密钥
expiration: 604800 #JWT的超期限时间(60*60*24*7)
tokenHead: Bearer #JWT负载中拿到开头
tokenHead: 'Bearer ' #JWT负载中拿到开头
redis:
database: mall
......
......@@ -11,7 +11,7 @@ jwt:
tokenHeader: Authorization #JWT存储的请求头
secret: mall-portal-secret #JWT加解密使用的密钥
expiration: 604800 #JWT的超期限时间(60*60*24*7)
tokenHead: Bearer #JWT负载中拿到开头
tokenHead: 'Bearer ' #JWT负载中拿到开头
secure:
ignored:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment