Commit fab0c21b authored by 赵啸非's avatar 赵啸非

物联网1.0

parent 35d87eb8
package com.mortals.xhx.daemon.netty.server.controlserver.handler; package com.mortals.xhx.daemon.netty.server.controlserver.handler;
import cn.hutool.core.util.RandomUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.ap.GlobalSysInfo; import com.mortals.framework.ap.GlobalSysInfo;
...@@ -80,6 +81,7 @@ public class NettyUDPServerHandler extends SimpleChannelInboundHandler<DatagramP ...@@ -80,6 +81,7 @@ public class NettyUDPServerHandler extends SimpleChannelInboundHandler<DatagramP
serverInfo.setDeviceRegisterApi(deviceRegisterApi); serverInfo.setDeviceRegisterApi(deviceRegisterApi);
serverInfo.setDeviceInitApi(deviceInitApi); serverInfo.setDeviceInitApi(deviceInitApi);
serverInfo.setDeviceUpdateApi(deviceUpdateApi); serverInfo.setDeviceUpdateApi(deviceUpdateApi);
serverInfo.setHomeUrl(RandomUtil.randomString(500));
resp.setData(serverInfo); resp.setData(serverInfo);
} else { } else {
......
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