mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 查询订单详情页时,检查订单状态
This commit is contained in:
@@ -52,7 +52,7 @@ public class NettyClient implements Runnable {
|
||||
ChannelFuture future = b.connect(HOST, PORT).sync();
|
||||
while (boo) {
|
||||
num++;
|
||||
future.channel().writeAndFlush("发送数据=======" + content + "--" + DateUtils.getTime());
|
||||
future.channel().writeAndFlush("发送数据=======" + content + "--" + DateUtils.getDateTime());
|
||||
try { //休眠一段时间
|
||||
Thread.sleep(3000);
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class NettyClientHandler extends ChannelInboundHandlerAdapter {
|
||||
return;
|
||||
}
|
||||
//将客户端的信息直接返回写入ctx
|
||||
ctx.write(msg + " 时间:" + DateUtils.getTime());
|
||||
ctx.write(msg + " 时间:" + DateUtils.getDateTime());
|
||||
//刷新缓存区
|
||||
ctx.flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user