结构修改
This commit is contained in:
parent
7c52ce8c2f
commit
c687825d79
|
@ -197,8 +197,8 @@ func (r *AiRouterBiz) RouteWithSocket(c *websocket.Conn, req *entitys.ChatSockRe
|
|||
}
|
||||
var matchJson entitys.Match
|
||||
if err := json.Unmarshal([]byte(resMsg), &matchJson); err != nil {
|
||||
log.Info(resMsg)
|
||||
return errors.SysErr("数据结构错误:%v", err.Error())
|
||||
|
||||
}
|
||||
|
||||
if err := r.handleMatch(ctx, c, ch, &matchJson, task, sysInfo); err != nil {
|
||||
|
|
Loading…
Reference in New Issue