This commit is contained in:
苏尹岚
2020-08-20 10:31:47 +08:00
parent 316355f928
commit 1cd05f3cf5
2 changed files with 5 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ func (c *EventController) TestWebsocket() {
c.EnableRender = false //Beego不启用渲染
var s *model.ImMessageRecord
var s model.ImMessageRecord
for {
//接收客户端的消息
err := ws.ReadJSON(&s)