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