Commit 2910f436 authored by 李健华's avatar 李健华

去掉注释

parent 17854b39
......@@ -67,13 +67,13 @@ public class WebsocketMessageHandler {
this.sendResponse(ctx, request, new DefaultFullHttpResponse(request.protocolVersion(), HttpResponseStatus.BAD_REQUEST, ctx.alloc().buffer()));
ctx.close();
}
// String supplierCode = stmsServer.getStmsTokenInfo(paramMap.get("token"));
String supplierCode = "self_40";
// if (null == supplierCode) {
// this.sendResponse(ctx, request, new DefaultFullHttpResponse(request.protocolVersion(), HttpResponseStatus.FORBIDDEN, ctx.alloc().buffer()));
// ctx.close();
// return;
// }
String supplierCode = stmsServer.getStmsTokenInfo(paramMap.get("token"));
// String supplierCode = "self_40";
if (null == supplierCode) {
this.sendResponse(ctx, request, new DefaultFullHttpResponse(request.protocolVersion(), HttpResponseStatus.FORBIDDEN, ctx.alloc().buffer()));
ctx.close();
return;
}
String mdString = paramMap.get("channelId") + "-" + supplierCode;
String relationKey = Md5Utils.MD5Encode(mdString);
online(relationKey, ctx.channel());
......
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