修复并发请求错误的bug

This commit is contained in:
injoyai
2024-12-19 16:50:41 +08:00
parent f9998f1c2c
commit e5bbb38aee

View File

@@ -155,7 +155,7 @@ func (this *Client) SendFrame(f *protocol.Frame, cache ...any) (any, error) {
if _, err := this.Client.Write(f.Bytes()); err != nil {
return nil, err
}
return this.Wait.Wait(conv.String(this.msgID))
return this.Wait.Wait(conv.String(f.MsgID))
}
// GetCount 获取市场内的股票数量