|
|
@ -4,6 +4,111 @@
|
|
|
|
主要技术栈
|
|
|
|
主要技术栈
|
|
|
|
gin + jwt-go + websocket + go.uuid + gorm + cobra
|
|
|
|
gin + jwt-go + websocket + go.uuid + gorm + cobra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 更新日志
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
利用go1.16特性进行内嵌资源 , 把模板和js内嵌入二进制文件
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
增加安装界面,访问[域名]/install
|
|
|
|
|
|
|
|
进入安装界面,填写数据库信息,会自动写入配置并且导入数据库
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端输入框以及图标icon按钮修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端界面icon修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复后端发消息空指针错误导致的进程退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端代码增加了允许跨域的http头,所以可以把nginx中的跨域相关http头可以去掉
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端增加自助服务点击后可以自动回复
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端手机端咨询按钮移到右侧不遮挡底部
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端前端修复多个layer冲突问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端修改守护进程方式,进程崩溃后可自动重启
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端增加定时清理频限防止内存泄露
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端增加通知频限和访客输入频限防止死锁
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
编译增加linux-x86_64/linux-i686版本支持
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复访客端标题闪烁问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
优化访客端头像样式以及小键盘遮挡问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
优化发消息问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
新增访客关键词自动回复功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端增加附件上传功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端增加关键词自动回复功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
新增分开系统自动断线与客服关闭连接
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复没有设置欢迎时tip显示错误问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复客服端发送消息错误提示不显示问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复一些界面问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复发送死锁问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.访客/客服端聊天界面样式修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.访客端展示客服头像信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.访客到来自动打开,以及参数控制
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.访客/客服端聊天信息默认折叠
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.客服端新消息提醒标识
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6.客服端访客列表展示访客正在输入信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.2
|
|
|
|
|
|
|
|
1.修改访客界面样式,更加简洁扁平
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.修改自动欢迎界面样式增加聊天框效果
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.修改数据库时间字段类型,兼容mysql5.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.修复数据库执行sql获取错误信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.1
|
|
|
|
|
|
|
|
1.修改在线咨询浮框样式
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.修改数据库时间字段类型,兼容mysql5.5+
|
|
|
|
|
|
|
|
##### V0.2.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.访客开多个窗口时 , 单点登录关闭旧ws连接
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.访客切换窗口时可以自动重连
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.访客到来时 , http接口和ws接口同时发送给客服上线信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.客服后台定时拉取在线访客接口
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.客服后台切换tab拉取在线访客
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 项目预览
|
|
|
|
### 项目预览
|
|
|
|
|
|
|
|
|
|
|
|
![Image text](https://gitee.com/taoshihan/go-fly/raw/master/static/images/newintro1.jpg)
|
|
|
|
![Image text](https://gitee.com/taoshihan/go-fly/raw/master/static/images/newintro1.jpg)
|
|
|
@ -152,8 +257,6 @@ server {
|
|
|
|
root /var/www/html/go-fly;//自己的部署路径,静态文件直接nginx响应
|
|
|
|
root /var/www/html/go-fly;//自己的部署路径,静态文件直接nginx响应
|
|
|
|
}
|
|
|
|
}
|
|
|
|
location / {
|
|
|
|
location / {
|
|
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
|
|
|
|
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
|
|
|
|
|
|
|
|
proxy_pass http://127.0.0.1:8081;
|
|
|
|
proxy_pass http://127.0.0.1:8081;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
@ -170,8 +273,6 @@ server{
|
|
|
|
root /var/www/html/go-fly;//自己的部署路径,静态文件直接nginx响应
|
|
|
|
root /var/www/html/go-fly;//自己的部署路径,静态文件直接nginx响应
|
|
|
|
}
|
|
|
|
}
|
|
|
|
location / {
|
|
|
|
location / {
|
|
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
|
|
|
|
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
|
|
|
|
|
|
|
|
proxy_pass http://127.0.0.1:8081;
|
|
|
|
proxy_pass http://127.0.0.1:8081;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
@ -237,100 +338,6 @@ location /
|
|
|
|
|
|
|
|
|
|
|
|
#PROXY-END/
|
|
|
|
#PROXY-END/
|
|
|
|
```
|
|
|
|
```
|
|
|
|
### 更新日志
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端输入框以及图标icon按钮修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端界面icon修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复后端发消息空指针错误导致的进程退出
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
增加允许跨域的http头,nginx中的跨域相关http头可以去掉
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端增加自助服务点击后可以自动回复
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端手机端咨询按钮移到右侧不遮挡底部
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
访客端前端修复多个layer冲突问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端修改守护进程方式,进程崩溃后可自动重启
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端增加定时清理频限防止内存泄露
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
后端增加通知频限和访客输入频限防止死锁
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
编译增加linux-x86_64/linux-i686版本支持
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复访客端标题闪烁问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
优化访客端头像样式以及小键盘遮挡问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
优化发消息问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
新增访客关键词自动回复功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端增加附件上传功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
客服端增加关键词自动回复功能
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
新增分开系统自动断线与客服关闭连接
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复没有设置欢迎时tip显示错误问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复客服端发送消息错误提示不显示问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复一些界面问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
修复发送死锁问题
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.访客/客服端聊天界面样式修改
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.访客端展示客服头像信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.访客到来自动打开,以及参数控制
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.访客/客服端聊天信息默认折叠
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.客服端新消息提醒标识
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6.客服端访客列表展示访客正在输入信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.2
|
|
|
|
|
|
|
|
1.修改访客界面样式,更加简洁扁平
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.修改自动欢迎界面样式增加聊天框效果
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.修改数据库时间字段类型,兼容mysql5.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.修复数据库执行sql获取错误信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### V0.3.1
|
|
|
|
|
|
|
|
1.修改在线咨询浮框样式
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.修改数据库时间字段类型,兼容mysql5.5+
|
|
|
|
|
|
|
|
##### V0.2.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.访客开多个窗口时 , 单点登录关闭旧ws连接
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2.访客切换窗口时可以自动重连
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.访客到来时 , http接口和ws接口同时发送给客服上线信息
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.客服后台定时拉取在线访客接口
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.客服后台切换tab拉取在线访客
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 感谢赞助
|
|
|
|
### 感谢赞助
|
|
|
|