Commit 80cb0cd2 authored by 赵啸非's avatar 赵啸非

物联网1.0

parent e32c58aa
...@@ -318,7 +318,14 @@ public class DeviceApiController { ...@@ -318,7 +318,14 @@ public class DeviceApiController {
authInfo.setDownTopicFilter(Constant.DOWN_TOPIC + deviceEntity.getDeviceCode()); authInfo.setDownTopicFilter(Constant.DOWN_TOPIC + deviceEntity.getDeviceCode());
//authInfo.setHomeUrl(platformEntity.getHomeUrl()); //authInfo.setHomeUrl(platformEntity.getHomeUrl());
String content = EncryptUtil.myEnscrt(JSON.toJSONString(authInfo), 9, DES_STR, ENCRYPT_STR); RegisterResp registerResp = new RegisterResp();
registerResp.setRabbmitInfo(authInfo);
ServerInfo serverInfo = new ServerInfo();
serverInfo.setHomeUrl(platformEntity.getHomeUrl());
serverInfo.setServerUrl(platformEntity.getSendUrl());
String content = EncryptUtil.myEnscrt(JSON.toJSONString(registerResp), 9, DES_STR, ENCRYPT_STR);
deviceResp.setContent(content); deviceResp.setContent(content);
rsp.setData(deviceResp); rsp.setData(deviceResp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment