结构修改

This commit is contained in:
renzhiyuan 2025-09-29 09:50:40 +08:00
parent 6ee4ce6cce
commit 3f1a8a3c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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{