api-二维码显示问题
This commit is contained in:
@@ -52,10 +52,6 @@ public class ClientHandler extends SimpleChannelInboundHandler<String> {
|
||||
public void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
|
||||
logger.info("接收服务器响应msg:[" + msg + "]");
|
||||
// 安卓写,非netty 后台实现
|
||||
// TODO 安卓获取心跳内容(有二维码的唯一识别)显示请求小程序的venueId的二维码,无需拼接url
|
||||
// TODO 安卓获取通知加载页面
|
||||
// TODO 安卓获取通知开门失败消息 (进入一个页面,然后显示倒计时,回到主页(二维码页面))
|
||||
// TODO 安卓获取通知开门的消息 (无需校验,直接操作开门)
|
||||
MessageDTO message = JsonUtils.decode(msg, MessageDTO.class);
|
||||
switch (message.getMessageType()){
|
||||
case LOAD:
|
||||
@@ -90,7 +86,7 @@ public class ClientHandler extends SimpleChannelInboundHandler<String> {
|
||||
HeartBeat hb = new HeartBeat();
|
||||
// hb.setDeviceName("DeviceIdUtil.generateDeviceId(mContext)");
|
||||
hb.setDeviceName("shebeiweiyishibiehao");
|
||||
hb.setVenueId(32); // TODO
|
||||
hb.setVenueId(32);
|
||||
hb.setDeviceType("ENTER");
|
||||
return hb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user