Commit 478907c2 authored by 李健华's avatar 李健华

不打包源码

parent 8dec1eea
......@@ -13,6 +13,10 @@
<version>0.0.1-SNAPSHOT</version>
<name>websocket-server</name>
<description>Demo project for Spring Boot</description>
<properties>
<maven.test.skip>true</maven.test.skip>
<maven.source.skip>true</maven.source.skip>
</properties>
<dependencies>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
......
......@@ -5,13 +5,6 @@
- netty是jboss提供的一个java开源框架,netty提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可用性的网络服务器和客户端程序。
- 本项目是基于Netty搭建的基础项目模板。
## 环境
| # | 环境 | 版本 | 说明 |
| ---- | ---- | -------------- | --------------- |
| 1 | JDK | openJdk 11.0.8 | 建议JDK11及以上 |
## 项目结构
......
......@@ -60,6 +60,8 @@ public class WebsocketMessageHandler {
String uri = request.uri();
ConcurrentMap<String, String> paramMap = getUrlParams(uri);
System.out.println("接收到的参数是:" + JSON.toJSONString(paramMap));
// this.sendResponse(ctx, request, new DefaultFullHttpResponse(request.protocolVersion(), HttpResponseStatus.FORBIDDEN, ctx.alloc().buffer()));
// ctx.close();
// 加校验
String relationInfo = paramMap.get("channelId") + "/" + paramMap.get("bussinessId");
online(relationInfo, 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