This commit is contained in:
laodaming 2023-08-24 15:51:32 +08:00
parent dcdc949a90
commit 991f3c5cd5
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ type RenderNotifyReq struct {
} }
type CommonNotifyReq struct { type CommonNotifyReq struct {
WebsocketId string `json:"websocket_id"` //websocket连接标识 WebsocketId string `json:"websocket_id"` //websocket连接标识
Data string `json:"data"` //aes_cbc加密密文 Data map[string]interface{} `json:"data"` //后端与前端约定好的数据
} }
type Request struct { type Request struct {

View File

@ -29,6 +29,6 @@ type RenderNotifyReq {
} }
//通用回调接口 //通用回调接口
type CommonNotifyReq { type CommonNotifyReq {
WebsocketId string `json:"websocket_id"` //websocket连接标识 WebsocketId string `json:"websocket_id"` //websocket连接标识
Data string `json:"data"` //aes_cbc加密密文 Data map[string]interface{} `json:"data"` //后端与前端约定好的数据
} }