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