Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

消息通知长连接启动心跳机制,后端代码小bug #3473

Closed
cwq007 opened this issue Mar 2, 2022 · 1 comment
Closed

消息通知长连接启动心跳机制,后端代码小bug #3473

cwq007 opened this issue Mar 2, 2022 · 1 comment

Comments

@cwq007
Copy link

cwq007 commented Mar 2, 2022

3.1.0
消息通知长连接启动心跳机制,后端代码小bug
截图&代码:

修改前,前端发送‘HeartBeat'消息后,后端返回的也是‘HeartBeat',前端进行eval解析会报错
image
修改后,端返回的也是‘{"cmd":"","msg":}'格式,前端进行eval解析正常
image

@tygithub1
Copy link

已修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants