This commit is contained in:
苏尹岚
2020-12-31 09:33:19 +08:00
parent fd6fdd3960
commit 01797b9932
3 changed files with 2 additions and 6 deletions

View File

@@ -75,8 +75,8 @@ func (c *EventController) TestWebsocket() {
}
globals.SugarLogger.Debugf("TestWebsocket connection...")
}
event.ImMessage(userID, ws)
c.EnableRender = false //Beego不启用渲染
event.ImMessage(userID, ws)
}
// @Title 查询聊天记录