Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-rest-admin-job-archetype
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fb0d7367
authored
May 17, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码规范
1 parent
f3898943
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
glsx-rest-admin-job/src/main/java/cn/com/glsx/smarttask/modules/job/GetTokenJob.java
glsx-rest-admin-job/src/main/java/cn/com/glsx/smarttask/modules/job/GetTokenJob.java
View file @
fb0d736
...
@@ -48,7 +48,7 @@ public class GetTokenJob implements SimpleJob {
...
@@ -48,7 +48,7 @@ public class GetTokenJob implements SimpleJob {
token
.
setExpire_time
(
System
.
currentTimeMillis
());
token
.
setExpire_time
(
System
.
currentTimeMillis
());
accessTokenRedis
.
add
(
Constants
.
ACCESSTOKEN_REDISKEY
,
token
);
accessTokenRedis
.
add
(
Constants
.
ACCESSTOKEN_REDISKEY
,
token
);
}
else
{
}
else
{
log
.
info
(
"调用刷新令牌接口异常,错误信息为{}"
,
responseBody
.
getMessage
());
log
.
info
(
"调用刷新令牌接口异常,错误信息为{}"
,
responseBody
==
null
?
"系统错误"
:
responseBody
.
getMessage
());
}
}
}
}
}
else
{
}
else
{
...
@@ -60,7 +60,7 @@ public class GetTokenJob implements SimpleJob {
...
@@ -60,7 +60,7 @@ public class GetTokenJob implements SimpleJob {
token
.
setExpire_time
(
System
.
currentTimeMillis
());
token
.
setExpire_time
(
System
.
currentTimeMillis
());
accessTokenRedis
.
add
(
Constants
.
ACCESSTOKEN_REDISKEY
,
token
);
accessTokenRedis
.
add
(
Constants
.
ACCESSTOKEN_REDISKEY
,
token
);
}
else
{
}
else
{
log
.
info
(
"调用获取accesstoken接口异常,错误信息为{}"
,
responseBody
.
getMessage
());
log
.
info
(
"调用获取accesstoken接口异常,错误信息为{}"
,
responseBody
==
null
?
"系统错误"
:
responseBody
.
getMessage
());
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment