From 52662075fda8317110f437994f3cc7538248244a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=AE=8F=E9=9F=AC?= <3183764662@qq.com> Date: Thu, 15 Nov 2018 16:23:58 +0800 Subject: [PATCH 1/4] update --- README.md | 14 +------------- src/main/resources/application.yml | 1 + 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a536ed2..7e7badb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# InChat(当前版本1.6.0) +# InChat-Demo(当前版本1.6.0) ### [在线咨询与留言](https://gitter.im/In-Chat/Lobby) @@ -6,18 +6,6 @@ > 每周六日下午更新项目或分支,项目尚未结束,欢迎加入与提供建议 -## 分支介绍 im-api - -腾讯IM(云通信)后端模仿项目,均以API形式对接,如果有前端想要对接的可以运行本分支,本分支预计终版为一个单服务并发30万用户的IM后台项目 - -## 分支介绍 paho-mqtt - -基于小程序端或移动web端的paho.js与[java MQTT 客户端模拟](https://github.com/eclipse/paho.mqtt.java)的消息订阅与通信,小程序Iot的Demo,目前支持ws格式 - -## 分支介绍 tcp-wechat - -基于小程序端与单片机等硬件的TCP/IP的主要通信,Iot中心作为中转,本demo将完全实现具体功能,详情请看分支主页 - ## 简介 ***(InChat)Iot Netty Chat*** diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 77aaf54..c2747cf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -13,6 +13,7 @@ spring: server: servlet: context-path: /susu + port: 8888 netty: webport: 8090 #web聊天室端口 tcpport: 8092 #tcp协议端口 From 20eb68707066ea3b16a91676f982393345326a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=AE=8F=E9=9F=AC?= <3183764662@qq.com> Date: Thu, 15 Nov 2018 17:36:08 +0800 Subject: [PATCH 2/4] update --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c2747cf..71b45c0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,8 +2,8 @@ spring: datasource: driver-class-name: com.mysql.jdbc.Driver username: root - password: root - url: jdbc:mysql://localhost:3306/nettychat?characterEncoding=utf-8&useSSL=false + password: 123456 + url: jdbc:mysql://192.168.1.207:3306/nettychat?characterEncoding=utf-8&useSSL=false jpa: show-sql: true # database: oracle From a572a6e3cf7580cd5af46257b343213bac3c30d4 Mon Sep 17 00:00:00 2001 From: hacker <3183764662@qq.com> Date: Sat, 17 Nov 2018 11:58:46 +0800 Subject: [PATCH 3/4] updateMd --- README.md | 116 +++++++++++++++++++++++++------------------------ doc/doc.md | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 184 insertions(+), 56 deletions(-) create mode 100644 doc/doc.md diff --git a/README.md b/README.md index 7e7badb..3549663 100644 --- a/README.md +++ b/README.md @@ -1,81 +1,87 @@ -# InChat-Demo(当前版本1.6.0) +# InChat-Demo(1.6.0 Version) -### [在线咨询与留言](https://gitter.im/In-Chat/Lobby) - -> 当前主要更新分支,master将会再所有分支开放一定阶段后整改为maven包,提供给大家使用 - -> 每周六日下午更新项目或分支,项目尚未结束,欢迎加入与提供建议 +### [Developer Chat](https://gitter.im/In-Chat/Lobby) ## 简介 ***(InChat)Iot Netty Chat*** -仿微信聊天应用,一步一步更新,基于SpringBoot-WebSocket通用框架,结合Netty进行聊天社交,并记录聊天日志, -异步存储,前端暂用SUI Mobile,添加实现TCP/IP后端通信端口(MQTT协议、可实时与单片机等TCP硬件通信)、加入图片处理流, -聊天实现文字与图片发送功能、API调用Netty长链接执行发送消息(在线数、用户列表) +Imitation WeChat chat app, one step update, based on Springboot-websocket General framework, combined with Netty for chat social, and record chat logs, +Asynchronous storage, front-end provisional sui Mobile, add TCP/IP back-end communication ports (MQTT protocol, real-time communication with single-chip computer and other TCP hardware), add picture processing flow, Chat implementation text and picture sending function, API call Netty long link execution Send message (number of online, user list) + +## 中文文档 + +* [中文文档](doc/doc.md) -## 基本架构图(1.5.2版) +## Basic architecture Diagram(1.5.2 Version) ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/ggg1.png) -## 功能 +## Configuration + +>application.yml Database configuration, netty parameter configuration + +>TCP must first go to the Com.myself.nettychat.tcptest package to perform crc16myself get send data + +>Do tcptestclient send data again, do not change the sending format at will (communication protocol) ->实时聊天 ->异步CRUD处理消息日志 ->获取聊天历史 ->用户登录、记录登录用户聊天历史 ->防止二次登录 ->SUI Mobile仿微信样式 ->TCP/IP软硬件通信(8092) ->MQTT协议下的Iot物联网通信(8094) ->图片发送聊天功能 ->API调用Netty长链接执行发送消息(在线用户数、用户列表) ->下版(1.7.0):好友功能等 +>http://localhost:8080/susu/admin/loginsui Start Access Path -## 版本迭代介绍 +>http://localhost:8080/susu/swagger-ui.html View API Documentation -* 1.0.0版本 +## Function -用户登录,聊天历史,随机用户名,异步数据写入:https://segmentfault.com/a/1190000016615063 +>Live Chat -* 1.2.0版本 +>Asynchronous CRUD handles message logs -修复聊天记录功能,实现重复信息录入,完善前端页面,回车监听等:https://segmentfault.com/a/1190000016637814 +>Get Chat History -* 1.3.0版本 +>User login, record login user chat history -用户注册登录功能,系统聊天绑定用户,禁止二次登录等,前端页面大改 +>Prevent two logins -* 1.4.1版本 +>SUI Mobile imitation WeChat style -本人主导SUI Mobile构建仿微信样式页面版,使用时开F12手机界面 +>TCP/IP hardware and software communication (8092) -* 1.5.2版本 +>IoT communications under the MQTT Protocol (8094) -TCP/IP软硬件通信-单片机等应用的TCP通信,Netty处理二进制图片发送聊天功能 +>Picture Sending chat function -* 1.5.8版本 +>API call Netty Long link execution Send message (number of online users, list of users) -MQTT协议软硬件通信等,Iot物联网 +>Next edition (1.7.0): Friends features, etc. -* 1.6.0版本 +## Version Iteration Introduction(Tags) -API调用Netty长链接执行发送消息(在线数、用户列表):https://segmentfault.com/a/1190000016603392 +* 1.0.0 Version +User login, Chat history, random username, asynchronous data write -## 配置 +* 1.2.0 Version ->application.yml 数据库配置、Netty参数配置 +Repair Chat recording function, realize duplicate information entry, perfect front-end page, return monitor, etc. ->TCP需先去com.myself.nettychat.tcptest包下执行CRC16myself获取发送数据, +* 1.3.0 Version ->再执行TCPTestClient发送数据,请勿随意更改发送格式(通信协议来的) +User Registration login function, system chat binding users, prohibition of two logins, etc., front-end page Large change ->http://localhost:8080/susu/admin/loginsui 启动访问路径 +* 1.4.1 Version ->mqtt协议测试在mqttclient包下 +I lead Sui mobile to build imitation WeChat style page version, when using the F12 mobile phone interface ->http://localhost:8080/susu/swagger-ui.html 查看API文档 +* 1.5.2 Version + +TCP/IP hardware and software communication-single-chip computer and other applications of TCP communication, Netty processing binary pictures send chat function + +* 1.5.8 Version + +MQTT protocol hardware and software communication, IoT Internet of Things + +* 1.6.0 Version + +API call Netty Long link execution Send message (number of online, user list) ## 效果图 @@ -88,31 +94,29 @@ API调用Netty长链接执行发送消息(在线数、用户列表):https: ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/10.png) ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/11.png) -## 预留BUG +## Reserved bugs ``` io.netty.handler.codec.CorruptedFrameException: Max frame length of 65536 has been exceeded. -图片过大,需要在前端做图片上传压缩 +Picture is too large, need to do picture upload compression at the front end Uncaught TypeError: msg.substring is not a function at WebSocket.socket.onmessage (newChat.js:38) -前端代码的一点问题,不影响项目正常运行 +A bit of a problem with front-end code that doesn't affect the normal operation of the project java.io.IOException: 远程主机强迫关闭了一个现有的连接。 -TCP客户端连接主动关闭,不影响,良性报错 +TCP Client Connection active shutdown, no impact, benign error ``` -## 下载地址 - -下载地址:https://github.com/UncleCatMySelf/SBToNettyChat/releases +## Download Address -## 交流与提问 +https://github.com/UncleCatMySelf/SBToNettyChat/releases -提问与Bug上报:https://github.com/UncleCatMySelf/SBToNettyChat/issues +## Communication & questions -QQ群:628793702(仅供交流,不提供问题解答) +https://github.com/UncleCatMySelf/SBToNettyChat/issues -## 关于作者 +QQ Group :628793702 -个人公众号:UncleCatMySelf +## About the author ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/%E5%85%AC%E4%BC%97%E5%8F%B7.png) diff --git a/doc/doc.md b/doc/doc.md new file mode 100644 index 0000000..e4b0846 --- /dev/null +++ b/doc/doc.md @@ -0,0 +1,124 @@ +# InChat-Demo(当前版本1.6.0) + +### [在线咨询与留言](https://gitter.im/In-Chat/Lobby) + +## 简介 + +***(InChat)Iot Netty Chat*** + +仿微信聊天应用,一步一步更新,基于SpringBoot-WebSocket通用框架,结合Netty进行聊天社交,并记录聊天日志, +异步存储,前端暂用SUI Mobile,添加实现TCP/IP后端通信端口(MQTT协议、可实时与单片机等TCP硬件通信)、加入图片处理流, +聊天实现文字与图片发送功能、API调用Netty长链接执行发送消息(在线数、用户列表) + +## 基本架构图(1.5.2版) + +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/ggg1.png) + +## 功能 + +>实时聊天 + +>异步CRUD处理消息日志 + +>获取聊天历史 + +>用户登录、记录登录用户聊天历史 + +>防止二次登录 + +>SUI Mobile仿微信样式 + +>TCP/IP软硬件通信(8092) + +>MQTT协议下的Iot物联网通信(8094) + +>图片发送聊天功能 + +>API调用Netty长链接执行发送消息(在线用户数、用户列表) + +>下版(1.7.0):好友功能等 + +## 版本迭代介绍(tag包下载) + +* 1.0.0版本 + +用户登录,聊天历史,随机用户名,异步数据写入:https://segmentfault.com/a/1190000016615063 + +* 1.2.0版本 + +修复聊天记录功能,实现重复信息录入,完善前端页面,回车监听等:https://segmentfault.com/a/1190000016637814 + +* 1.3.0版本 + +用户注册登录功能,系统聊天绑定用户,禁止二次登录等,前端页面大改 + +* 1.4.1版本 + +本人主导SUI Mobile构建仿微信样式页面版,使用时开F12手机界面 + +* 1.5.2版本 + +TCP/IP软硬件通信-单片机等应用的TCP通信,Netty处理二进制图片发送聊天功能 + +* 1.5.8版本 + +MQTT协议软硬件通信等,Iot物联网 + +* 1.6.0版本 + +API调用Netty长链接执行发送消息(在线数、用户列表):https://segmentfault.com/a/1190000016603392 + + +## 配置 + +>application.yml 数据库配置、Netty参数配置 + +>TCP需先去com.myself.nettychat.tcptest包下执行CRC16myself获取发送数据, + +>再执行TCPTestClient发送数据,请勿随意更改发送格式(通信协议来的) + +>http://localhost:8080/susu/admin/loginsui 启动访问路径 + +>mqtt协议测试在mqttclient包下 + +>http://localhost:8080/susu/swagger-ui.html 查看API文档 + +## 效果图 + +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(5).png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(3).png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(4).png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(2).png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(1).png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/9.png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/10.png) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/11.png) + +## 预留BUG + +``` +io.netty.handler.codec.CorruptedFrameException: Max frame length of 65536 has been exceeded. +图片过大,需要在前端做图片上传压缩 + +Uncaught TypeError: msg.substring is not a function at WebSocket.socket.onmessage (newChat.js:38) +前端代码的一点问题,不影响项目正常运行 + +java.io.IOException: 远程主机强迫关闭了一个现有的连接。 +TCP客户端连接主动关闭,不影响,良性报错 +``` + +## 下载地址 + +下载地址:https://github.com/UncleCatMySelf/SBToNettyChat/releases + +## 交流与提问 + +提问与Bug上报:https://github.com/UncleCatMySelf/SBToNettyChat/issues + +QQ群:628793702(仅供交流,不提供问题解答) + +## 关于作者 + +个人公众号:UncleCatMySelf + +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/%E5%85%AC%E4%BC%97%E5%8F%B7.png) From e3de9396dfdda52b1c29ed97af988a831a55237a Mon Sep 17 00:00:00 2001 From: hacker <3183764662@qq.com> Date: Thu, 6 Dec 2018 23:09:43 +0800 Subject: [PATCH 4/4] update --- README.md | 104 ++++++++++++++++++++++---------------------- doc/doc.md | 124 ----------------------------------------------------- 2 files changed, 52 insertions(+), 176 deletions(-) delete mode 100644 doc/doc.md diff --git a/README.md b/README.md index 3549663..0c30f48 100644 --- a/README.md +++ b/README.md @@ -1,87 +1,85 @@ -# InChat-Demo(1.6.0 Version) - -### [Developer Chat](https://gitter.im/In-Chat/Lobby) +# InChat-Demo(当前版本1.6.0) ## 简介 ***(InChat)Iot Netty Chat*** -Imitation WeChat chat app, one step update, based on Springboot-websocket General framework, combined with Netty for chat social, and record chat logs, -Asynchronous storage, front-end provisional sui Mobile, add TCP/IP back-end communication ports (MQTT protocol, real-time communication with single-chip computer and other TCP hardware), add picture processing flow, Chat implementation text and picture sending function, API call Netty long link execution Send message (number of online, user list) +仿微信聊天应用,一步一步更新,基于SpringBoot-WebSocket通用框架,结合Netty进行聊天社交,并记录聊天日志, +异步存储,前端暂用SUI Mobile,添加实现TCP/IP后端通信端口(MQTT协议、可实时与单片机等TCP硬件通信)、加入图片处理流, +聊天实现文字与图片发送功能、API调用Netty长链接执行发送消息(在线数、用户列表) -## 中文文档 +## 基本架构图(1.5.2版) -* [中文文档](doc/doc.md) +![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/ggg1.png) -## Basic architecture Diagram(1.5.2 Version) +## 功能 -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/ggg1.png) +>实时聊天 -## Configuration +>异步CRUD处理消息日志 ->application.yml Database configuration, netty parameter configuration +>获取聊天历史 ->TCP must first go to the Com.myself.nettychat.tcptest package to perform crc16myself get send data +>用户登录、记录登录用户聊天历史 ->Do tcptestclient send data again, do not change the sending format at will (communication protocol) +>防止二次登录 ->http://localhost:8080/susu/admin/loginsui Start Access Path +>SUI Mobile仿微信样式 ->http://localhost:8080/susu/swagger-ui.html View API Documentation +>TCP/IP软硬件通信(8092) -## Function +>MQTT协议下的Iot物联网通信(8094) ->Live Chat +>图片发送聊天功能 ->Asynchronous CRUD handles message logs +>API调用Netty长链接执行发送消息(在线用户数、用户列表) ->Get Chat History +>下版(1.7.0):好友功能等 ->User login, record login user chat history +## 版本迭代介绍(tag包下载) ->Prevent two logins +* 1.0.0版本 ->SUI Mobile imitation WeChat style +用户登录,聊天历史,随机用户名,异步数据写入:https://segmentfault.com/a/1190000016615063 ->TCP/IP hardware and software communication (8092) +* 1.2.0版本 ->IoT communications under the MQTT Protocol (8094) +修复聊天记录功能,实现重复信息录入,完善前端页面,回车监听等:https://segmentfault.com/a/1190000016637814 ->Picture Sending chat function +* 1.3.0版本 ->API call Netty Long link execution Send message (number of online users, list of users) +用户注册登录功能,系统聊天绑定用户,禁止二次登录等,前端页面大改 ->Next edition (1.7.0): Friends features, etc. +* 1.4.1版本 -## Version Iteration Introduction(Tags) +本人主导SUI Mobile构建仿微信样式页面版,使用时开F12手机界面 -* 1.0.0 Version +* 1.5.2版本 -User login, Chat history, random username, asynchronous data write +TCP/IP软硬件通信-单片机等应用的TCP通信,Netty处理二进制图片发送聊天功能 -* 1.2.0 Version +* 1.5.8版本 -Repair Chat recording function, realize duplicate information entry, perfect front-end page, return monitor, etc. +MQTT协议软硬件通信等,Iot物联网 -* 1.3.0 Version +* 1.6.0版本 -User Registration login function, system chat binding users, prohibition of two logins, etc., front-end page Large change +API调用Netty长链接执行发送消息(在线数、用户列表):https://segmentfault.com/a/1190000016603392 -* 1.4.1 Version -I lead Sui mobile to build imitation WeChat style page version, when using the F12 mobile phone interface +## 配置 -* 1.5.2 Version +>application.yml 数据库配置、Netty参数配置 -TCP/IP hardware and software communication-single-chip computer and other applications of TCP communication, Netty processing binary pictures send chat function +>TCP需先去com.myself.nettychat.tcptest包下执行CRC16myself获取发送数据, -* 1.5.8 Version +>再执行TCPTestClient发送数据,请勿随意更改发送格式(通信协议来的) -MQTT protocol hardware and software communication, IoT Internet of Things +>http://localhost:8080/susu/admin/loginsui 启动访问路径 -* 1.6.0 Version +>mqtt协议测试在mqttclient包下 -API call Netty Long link execution Send message (number of online, user list) +>http://localhost:8080/susu/swagger-ui.html 查看API文档 ## 效果图 @@ -94,29 +92,31 @@ API call Netty Long link execution Send message (number of online, user list) ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/10.png) ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/11.png) -## Reserved bugs +## 预留BUG ``` io.netty.handler.codec.CorruptedFrameException: Max frame length of 65536 has been exceeded. -Picture is too large, need to do picture upload compression at the front end +图片过大,需要在前端做图片上传压缩 Uncaught TypeError: msg.substring is not a function at WebSocket.socket.onmessage (newChat.js:38) -A bit of a problem with front-end code that doesn't affect the normal operation of the project +前端代码的一点问题,不影响项目正常运行 java.io.IOException: 远程主机强迫关闭了一个现有的连接。 -TCP Client Connection active shutdown, no impact, benign error +TCP客户端连接主动关闭,不影响,良性报错 ``` -## Download Address +## 下载地址 + +下载地址:https://github.com/UncleCatMySelf/SBToNettyChat/releases -https://github.com/UncleCatMySelf/SBToNettyChat/releases +## 交流与提问 -## Communication & questions +提问与Bug上报:https://github.com/UncleCatMySelf/SBToNettyChat/issues -https://github.com/UncleCatMySelf/SBToNettyChat/issues +QQ群:628793702(仅供交流,不提供问题解答) -QQ Group :628793702 +## 关于作者 -## About the author +个人公众号:UncleCatMySelf ![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/%E5%85%AC%E4%BC%97%E5%8F%B7.png) diff --git a/doc/doc.md b/doc/doc.md deleted file mode 100644 index e4b0846..0000000 --- a/doc/doc.md +++ /dev/null @@ -1,124 +0,0 @@ -# InChat-Demo(当前版本1.6.0) - -### [在线咨询与留言](https://gitter.im/In-Chat/Lobby) - -## 简介 - -***(InChat)Iot Netty Chat*** - -仿微信聊天应用,一步一步更新,基于SpringBoot-WebSocket通用框架,结合Netty进行聊天社交,并记录聊天日志, -异步存储,前端暂用SUI Mobile,添加实现TCP/IP后端通信端口(MQTT协议、可实时与单片机等TCP硬件通信)、加入图片处理流, -聊天实现文字与图片发送功能、API调用Netty长链接执行发送消息(在线数、用户列表) - -## 基本架构图(1.5.2版) - -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/ggg1.png) - -## 功能 - ->实时聊天 - ->异步CRUD处理消息日志 - ->获取聊天历史 - ->用户登录、记录登录用户聊天历史 - ->防止二次登录 - ->SUI Mobile仿微信样式 - ->TCP/IP软硬件通信(8092) - ->MQTT协议下的Iot物联网通信(8094) - ->图片发送聊天功能 - ->API调用Netty长链接执行发送消息(在线用户数、用户列表) - ->下版(1.7.0):好友功能等 - -## 版本迭代介绍(tag包下载) - -* 1.0.0版本 - -用户登录,聊天历史,随机用户名,异步数据写入:https://segmentfault.com/a/1190000016615063 - -* 1.2.0版本 - -修复聊天记录功能,实现重复信息录入,完善前端页面,回车监听等:https://segmentfault.com/a/1190000016637814 - -* 1.3.0版本 - -用户注册登录功能,系统聊天绑定用户,禁止二次登录等,前端页面大改 - -* 1.4.1版本 - -本人主导SUI Mobile构建仿微信样式页面版,使用时开F12手机界面 - -* 1.5.2版本 - -TCP/IP软硬件通信-单片机等应用的TCP通信,Netty处理二进制图片发送聊天功能 - -* 1.5.8版本 - -MQTT协议软硬件通信等,Iot物联网 - -* 1.6.0版本 - -API调用Netty长链接执行发送消息(在线数、用户列表):https://segmentfault.com/a/1190000016603392 - - -## 配置 - ->application.yml 数据库配置、Netty参数配置 - ->TCP需先去com.myself.nettychat.tcptest包下执行CRC16myself获取发送数据, - ->再执行TCPTestClient发送数据,请勿随意更改发送格式(通信协议来的) - ->http://localhost:8080/susu/admin/loginsui 启动访问路径 - ->mqtt协议测试在mqttclient包下 - ->http://localhost:8080/susu/swagger-ui.html 查看API文档 - -## 效果图 - -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(5).png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(3).png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(4).png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(2).png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/001%20(1).png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/9.png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/10.png) -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/nettychat/11.png) - -## 预留BUG - -``` -io.netty.handler.codec.CorruptedFrameException: Max frame length of 65536 has been exceeded. -图片过大,需要在前端做图片上传压缩 - -Uncaught TypeError: msg.substring is not a function at WebSocket.socket.onmessage (newChat.js:38) -前端代码的一点问题,不影响项目正常运行 - -java.io.IOException: 远程主机强迫关闭了一个现有的连接。 -TCP客户端连接主动关闭,不影响,良性报错 -``` - -## 下载地址 - -下载地址:https://github.com/UncleCatMySelf/SBToNettyChat/releases - -## 交流与提问 - -提问与Bug上报:https://github.com/UncleCatMySelf/SBToNettyChat/issues - -QQ群:628793702(仅供交流,不提供问题解答) - -## 关于作者 - -个人公众号:UncleCatMySelf - -![Image text](https://raw.githubusercontent.com/UncleCatMySelf/img-myself/master/img/%E5%85%AC%E4%BC%97%E5%8F%B7.png)