1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00

增加设备回调消息实体

This commit is contained in:
larry.liu
2019-11-15 14:46:50 +08:00
parent c4a361bbf6
commit 33d00f45c5

View File

@@ -1,6 +1,9 @@
package message
import "encoding/xml"
import (
"encoding/xml"
"github.com/silenceper/wechat/device"
)
// MsgType 基本消息类型
type MsgType string
@@ -152,6 +155,9 @@ type MixMessage struct {
ExtraInfoJSON string `xml:"extra_info_json"`
TraceID string `xml:"trace_id"`
StatusCode int `xml:"status_code"`
//设备相关
device.MsgDevice
}
//EventPic 发图事件推送