Commit ede07bb0 by 111-PC\111

[+]代码规范

1 parent fb0d7367
...@@ -67,7 +67,7 @@ public class GetTokenJob implements SimpleJob { ...@@ -67,7 +67,7 @@ public class GetTokenJob implements SimpleJob {
public ResponseBody sendRequestGetOA(String requesturl) { public ResponseBody sendRequestGetOA(String requesturl) {
ResponseBody responseBody = null; ResponseBody responseBody = null;
Map<String, String> headerParams = HeaderParamUtils.buildHeaderParams(tuyaConfig.getClient_id(), tuyaConfig.getClient_id()); Map<String, String> headerParams = HeaderParamUtils.buildHeaderParams(tuyaConfig.getClient_id(), tuyaConfig.getSecret());
try { try {
JSONObject jsonObject = HttpUtil.sendGet(requesturl, null, headerParams); JSONObject jsonObject = HttpUtil.sendGet(requesturl, null, headerParams);
responseBody = JSON.toJavaObject(jsonObject, ResponseBody.class); responseBody = JSON.toJavaObject(jsonObject, ResponseBody.class);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!