Comments (27)
你要先将我微狗前端启动,因为这只是一个后端服务,后端文档地址是localhost:8869/api/doc.html,前端仓库是https://github.com/lhccong/we-go-frontend
from we-go.
这个样子就算成功了吗?
这些配置是什么意思?没有配置是不是就只有自己一个人在群里?不能和其他人交流对吗?
from we-go.
对的这样就算成功了,你可以启动两个浏览器来进行本地对话测试,那些配置是多出来的,留个别的功能的可以不用管
from we-go.
为什么这个聊天
记录刷新就没有了,没有保存到下来
from we-go.
为什么这个聊天 记录刷新就没有了,没有保存到下来
检查一下后端数据库配置是否连接正确,后端是否正确启动
from we-go.
from we-go.
走的websocket,没走http
from we-go.
from we-go.
但是这个记录像是虚假的,是我哪里没有配好吗
from we-go.
但是这个记录像是虚假的,是我哪里没有配好吗
断点打到/com/cong/wego/websocket/service/impl/WebSocketServiceImpl.java 的sendMessage方法里面,看看是否进去,f12是无法查看到数据的
from we-go.
但是这个记录像是虚假的,是我哪里没有配好吗
http://124.70.210.130:8089/ 可以去在线地址体验一下
from we-go.
from we-go.
检查后端是否启动,后端启动的端口是8869,这个是接口文档的api地址
from we-go.
from we-go.
而且登录这边都是可以的
from we-go.
而且登录这边都是可以的
前端这个报错不会影响消息发送
from we-go.
那为什么发送消息不行啊
from we-go.
其他接口都可以进来,就发送消息不行,而且刷新页面,记录没有保存下来
from we-go.
其他接口都可以进来,就发送消息不行,而且刷新页面,记录没有保存下来
改成这个代码试试:
isDev ? BACKEND_HOST_LOCAL_WS + tokenValue : BACKEND_HOST_PROD_WS + tokenValue,
from we-go.
可以了,现在可以发消息了
from we-go.
谢谢
from we-go.
这是什么原因
from we-go.
这是什么原因
我前端本地环境漏了发token,导致后端netty识别不到用户,无法保存消息,前端bug已提交修复
from we-go.
好的
from we-go.
大佬很多开源项目真的很棒
from we-go.
后期开通语音聊天,视频聊天功能吗
from we-go.
后期开通语音聊天,视频聊天功能吗
目前没有这个打算,像这种一般都要借助第三方的付费功能接入
from we-go.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from we-go.