Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
youjj
cloud-platform
Commits
9f59fba8
Commit
9f59fba8
authored
Aug 31, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
8fd35680
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
AppAuthServiceImpl.java
...xiaoqi/security/auth/service/impl/AppAuthServiceImpl.java
+2
-1
AuthServiceImpl.java
...b/wxiaoqi/security/auth/service/impl/AuthServiceImpl.java
+2
-1
No files found.
ace-auth/ace-auth-server/src/main/java/com/github/wxiaoqi/security/auth/service/impl/AppAuthServiceImpl.java
View file @
9f59fba8
...
@@ -129,7 +129,8 @@ public class AppAuthServiceImpl implements AuthService {
...
@@ -129,7 +129,8 @@ public class AppAuthServiceImpl implements AuthService {
if
(
ijwtInfo
==
null
){
if
(
ijwtInfo
==
null
){
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
return
ObjectRestResponse
.
succ
();
token
=
jwtTokenUtil
.
generateToken
(
ijwtInfo
);
return
ObjectRestResponse
.
succ
(
token
);
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
...
...
ace-auth/ace-auth-server/src/main/java/com/github/wxiaoqi/security/auth/service/impl/AuthServiceImpl.java
View file @
9f59fba8
...
@@ -126,7 +126,8 @@ public class AuthServiceImpl implements AuthService {
...
@@ -126,7 +126,8 @@ public class AuthServiceImpl implements AuthService {
if
(
ijwtInfo
==
null
){
if
(
ijwtInfo
==
null
){
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
}
}
return
ObjectRestResponse
.
succ
();
token
=
jwtTokenUtil
.
generateToken
(
ijwtInfo
);
return
ObjectRestResponse
.
succ
(
token
);
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
return
ObjectRestResponse
.
createFailedResult
(
10009
,
"token失效"
);
...
...
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