Documentation ¶
Overview ¶
微信连Wi-Fi
Index ¶
Constants ¶
View Source
const ( // 推送到公众号URL上的事件类型 EventTypeWifiConnected core.EventType = "WifiConnected" // Wi-Fi连网成功事件 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WifiConnectedEvent ¶
type WifiConnectedEvent struct { XMLName struct{} `xml:"xml" json:"-"` core.MsgHeader EventType core.EventType `xml:"Event" json:"Event"` // 事件类型,WifiConnected (Wi-Fi连网成功) ConnectTime int64 `xml:"ConnectTime" json:"ConnectTime"` // 连网时间(整型) ExpireTime int64 `xml:"ExpireTime" json:"ExpireTime"` // 系统保留字段,固定值 VendorId string `xml:"VendorId" json:"VendorId"` // 系统保留字段,固定值 PlaceId int64 `xml:"PlaceId" json:"PlaceId"` // 连网的门店id DeviceNo string `xml:"DeviceNo" json:"DeviceNo"` // 连网的设备无线mac地址,对应bssid }
func GetWifiConnectedEvent ¶
func GetWifiConnectedEvent(msg *core.MixedMsg) *WifiConnectedEvent
Click to show internal directories.
Click to hide internal directories.