bizwifi

package
v0.0.0-...-5652a87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

微信连Wi-Fi

Index

Constants

View Source
const (
	// 推送到公众号URL上的事件类型
	EventTypeWifiConnected = "WifiConnected" // Wi-Fi连网成功事件
)

Variables

This section is empty.

Functions

This section is empty.

Types

type WifiConnectedEvent

type WifiConnectedEvent struct {
	XMLName struct{} `xml:"xml" json:"-"`
	mp.MessageHeader

	Event string `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 *mp.MixedMessage) *WifiConnectedEvent

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL