结构修改
This commit is contained in:
parent
6ee4ce6cce
commit
3f1a8a3c4c
|
@ -110,7 +110,7 @@ func (h *ChatService) Chat(c *websocket.Conn) {
|
||||||
log.Println("处理失败:", err)
|
log.Println("处理失败:", err)
|
||||||
entitys.MsgSend(c, entitys.Response{
|
entitys.MsgSend(c, entitys.Response{
|
||||||
Content: err.Error(),
|
Content: err.Error(),
|
||||||
Type: entitys.ResponseErr,
|
Type: entitys.ResponseText,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
_ = entitys.MsgSend(c, entitys.Response{
|
_ = entitys.MsgSend(c, entitys.Response{
|
||||||
|
|
Loading…
Reference in New Issue