Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lei
fzm-joying
Commits
056d4e4c
Commit
056d4e4c
authored
Sep 17, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录过期时间延长至一周
parent
24bee1c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
IdCardVerificationResponse.java
...java/com/fzm/common/enums/IdCardVerificationResponse.java
+0
-1
JwtUtil.java
...ng-common/src/main/java/com/fzm/common/utils/JwtUtil.java
+1
-1
No files found.
joying-common/src/main/java/com/fzm/common/enums/IdCardVerificationResponse.java
View file @
056d4e4c
...
...
@@ -2,7 +2,6 @@ package com.fzm.common.enums;
import
lombok.AllArgsConstructor
;
import
lombok.Getter
;
import
lombok.Setter
;
/**
* @author tangtuo
...
...
joying-common/src/main/java/com/fzm/common/utils/JwtUtil.java
View file @
056d4e4c
...
...
@@ -28,7 +28,7 @@ public class JwtUtil {
private
static
final
String
CLAIM_KEY_USERID
=
"userId"
;
private
static
final
String
CLAIM_KEY_APP_ID
=
"appId"
;
private
static
final
String
SECRET
=
"fzm-ly"
;
private
static
final
Long
PORTAL_EXPIRATION
=
1000
*
60
*
60
*
24L
;
private
static
final
Long
PORTAL_EXPIRATION
=
1000
*
60
*
60
*
24L
*
7
;
private
static
final
Long
ADMIN_EXPIRATION
=
1000
*
60
*
60
*
2L
;
private
static
final
String
TOKEN_PREFIX
=
"Bearer "
;
...
...
Write
Preview
Markdown
is supported
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