mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-12 08:42:28 +08:00
增加设备回调消息实体
This commit is contained in:
@@ -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 发图事件推送
|
||||||
|
|||||||
Reference in New Issue
Block a user