ls 5 lat temu
rodzic
commit
7d0c66be1a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      wechat/structure.go

+ 2 - 2
wechat/structure.go

@@ -101,10 +101,10 @@ type Message struct {
 	Description string `xml:"Description,omitempty" json:"Description,omitempty"` // 消息描述
 	URL         string `xml:"Url,omitempty" json:"Url,omitempty"`                 // 消息链接
 
-	Event string `xml:"Event,omitempty" json:"Event,omitempty"` // 事件 subscribe(订阅)、unsubscribe(取消订阅)、CLICK(自定义菜单事件)
+	Event string `xml:"Event,omitempty" json:"Event,omitempty"` // 事件 subscribe(订阅)、unsubscribe(取消订阅)、CLICK(自定义菜单事件)、SCAN
 
 	// 扫描带参数二维码事件
-	EventKey string `xml:"EventKey,omitempty" json:"EventKey,omitempty"` // 事件KEY 值,扫码时 qrscene_ 为前缀,后面为二维码的参数值, 自定义菜单事件与自定义菜单接口中 KEY 值对应
+	EventKey string `xml:"EventKey,omitempty" json:"EventKey,omitempty"` // 事件KEY 值,扫码未关注的 qrscene_ 为前缀(subscribe 事件, 已关注的推送 SCAN 事件),后面为二维码的参数值, 自定义菜单事件与自定义菜单接口中 KEY 值对应
 	Ticket   string `xml:"Ticket,omitempty" json:"Ticket,omitempty"`     // 二维码的ticket,可用来换取二维码图片
 
 	MsgID int64 `xml:"MsgId,omitempty" json:"MsgId,omitempty"` // 消息id