feat: ws 请求消息体判断reqid和和结构序列化异常信息
This commit is contained in:
@@ -15,6 +15,7 @@ type WSClient struct {
|
||||
|
||||
// WSRequest ws消息接收
|
||||
type WSRequest struct {
|
||||
Type string `json:"type"`
|
||||
Data any `json:"data"`
|
||||
RequestID string `json:"requestId"` // 请求ID
|
||||
Type string `json:"type"` // 业务类型
|
||||
Data any `json:"data"` // 查询结构
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user