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 ede07bb0
authored
May 21, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码规范
1 parent
fb0d7367
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 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 @
ede07bb
...
...
@@ -67,7 +67,7 @@ public class GetTokenJob implements SimpleJob {
public
ResponseBody
sendRequestGetOA
(
String
requesturl
)
{
ResponseBody
responseBody
=
null
;
Map
<
String
,
String
>
headerParams
=
HeaderParamUtils
.
buildHeaderParams
(
tuyaConfig
.
getClient_id
(),
tuyaConfig
.
get
Client_id
());
Map
<
String
,
String
>
headerParams
=
HeaderParamUtils
.
buildHeaderParams
(
tuyaConfig
.
getClient_id
(),
tuyaConfig
.
get
Secret
());
try
{
JSONObject
jsonObject
=
HttpUtil
.
sendGet
(
requesturl
,
null
,
headerParams
);
responseBody
=
JSON
.
toJavaObject
(
jsonObject
,
ResponseBody
.
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