结构修改

This commit is contained in:
renzhiyuan 2025-09-28 10:33:18 +08:00
parent 7c52ce8c2f
commit c687825d79
1 changed files with 1 additions and 1 deletions

View File

@ -197,8 +197,8 @@ func (r *AiRouterBiz) RouteWithSocket(c *websocket.Conn, req *entitys.ChatSockRe
} }
var matchJson entitys.Match var matchJson entitys.Match
if err := json.Unmarshal([]byte(resMsg), &matchJson); err != nil { if err := json.Unmarshal([]byte(resMsg), &matchJson); err != nil {
log.Info(resMsg)
return errors.SysErr("数据结构错误:%v", err.Error()) return errors.SysErr("数据结构错误:%v", err.Error())
} }
if err := r.handleMatch(ctx, c, ch, &matchJson, task, sysInfo); err != nil { if err := r.handleMatch(ctx, c, ch, &matchJson, task, sysInfo); err != nil {