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 d3c0640f
authored
Apr 19, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码整理
1 parent
f5347226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/job/GetTokenJob.java
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/job/GetTokenJob.java
View file @
d3c0640
...
@@ -61,6 +61,7 @@ public class GetTokenJob implements SimpleJob {
...
@@ -61,6 +61,7 @@ public class GetTokenJob implements SimpleJob {
}
}
}
else
{
}
else
{
ResponseBody
responseBody
=
sendRequestGetOA
(
getTokenUrl
);
ResponseBody
responseBody
=
sendRequestGetOA
(
getTokenUrl
);
log
.
info
(
"请求body{}"
,
responseBody
);
if
(
responseBody
!=
null
&&
responseBody
.
isSuccess
())
{
if
(
responseBody
!=
null
&&
responseBody
.
isSuccess
())
{
String
result
=
responseBody
.
getResult
();
String
result
=
responseBody
.
getResult
();
AccessToken
token
=
JSONObject
.
parseObject
(
result
,
AccessToken
.
class
);
AccessToken
token
=
JSONObject
.
parseObject
(
result
,
AccessToken
.
class
);
...
...
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