Commit 48c9a321 by 111-PC\111

[+]aqara代码提交

1 parent 53c2e144
......@@ -17,6 +17,7 @@
<shiro.version>1.6.0</shiro.version>
</properties>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
......@@ -96,7 +97,7 @@
<dependency>
<groupId>com.lumi.opencloud</groupId>
<artifactId>opencloud-sdk</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<exclusions>
<exclusion>
<artifactId>spring-boot-starter-log4j2</artifactId>
......@@ -160,4 +161,5 @@
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -64,7 +64,7 @@ public class AqaraDeviceService {
}
ResponseMsg responseMsg = DeviceManager.bindKeyGet(new AiotConfig(clientId,null,token,null,domain), deviceBindGetRequest);
if (responseMsg != null && Constants.AQARA_RETURN_SUCCESS_CODE == responseMsg.getCode()) {
return R.ok(JSONObject.toJSONString(responseMsg));
return R.ok(JSONObject.toJSONString(responseMsg.getResult()));
}
return R.error(responseMsg.getMessage());
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!