Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
d714d49e
Commit
d714d49e
authored
May 24, 2020
by
macro
Browse files
JWT tokenHead修改
parent
4befc2f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/resources/application.yml
View file @
d714d49e
...
@@ -15,7 +15,7 @@ jwt:
...
@@ -15,7 +15,7 @@ jwt:
tokenHeader
:
Authorization
#JWT存储的请求头
tokenHeader
:
Authorization
#JWT存储的请求头
secret
:
mall-admin-secret
#JWT加解密使用的密钥
secret
:
mall-admin-secret
#JWT加解密使用的密钥
expiration
:
604800
#JWT的超期限时间(60*60*24*7)
expiration
:
604800
#JWT的超期限时间(60*60*24*7)
tokenHead
:
Bearer
#JWT负载中拿到开头
tokenHead
:
'
Bearer
'
#JWT负载中拿到开头
redis
:
redis
:
database
:
mall
database
:
mall
...
...
mall-portal/src/main/resources/application.yml
View file @
d714d49e
...
@@ -11,7 +11,7 @@ jwt:
...
@@ -11,7 +11,7 @@ jwt:
tokenHeader
:
Authorization
#JWT存储的请求头
tokenHeader
:
Authorization
#JWT存储的请求头
secret
:
mall-portal-secret
#JWT加解密使用的密钥
secret
:
mall-portal-secret
#JWT加解密使用的密钥
expiration
:
604800
#JWT的超期限时间(60*60*24*7)
expiration
:
604800
#JWT的超期限时间(60*60*24*7)
tokenHead
:
Bearer
#JWT负载中拿到开头
tokenHead
:
'
Bearer
'
#JWT负载中拿到开头
secure
:
secure
:
ignored
:
ignored
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment