bizwifi

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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