refactor chat message body struct

This commit is contained in:
RockYang
2024-09-14 07:11:45 +08:00
parent 96b8121210
commit e371310d02
11 changed files with 161 additions and 95 deletions

View File

@@ -73,7 +73,7 @@ func (h *DallJobHandler) Client(c *gin.Context) {
return
}
var message types.WsMessage
var message types.ReplyMessage
err = utils.JsonDecode(string(msg), &message)
if err != nil {
continue