This commit is contained in:
tfl
2024-08-21 17:35:50 +08:00
parent 34ea7472b7
commit dd5b38b4e3
24 changed files with 328 additions and 133 deletions

View File

@@ -10,7 +10,8 @@ type DeviceEventInfo struct {
DeviceAuth *model.DeviceAuth `json:"deviceAuth"`
Datas string `json:"datas"`
Type string `json:"type"`
RequestId string `json:"requestId"`
RequestId string `json:"requestId"` // rpc 请求ID
Identifier string `json:"identifier"` //事件标识
}
func (j *DeviceEventInfo) Bytes() []byte {