Discover Packages
github.com/magicshui/wechat
mp
shakearound
user
package
Version:
v0.0.0-...-527ea11
Opens a new window with list of versions in this module.
Published: Apr 2, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BeaconInfo struct {
Distance float64 `json:"distance"`
UUID string `json:"uuid"`
Major int `json:"major"`
Minor int `json:"minor"`
}
type Shakeinfo struct {
PageId int64 `json:"page_id"`
BeaconInfo BeaconInfo `json:"beacon_info"`
Openid string `json:"openid"`
PoiId *int64 `json:"poi_id"`
}
获取摇周边的设备及用户信息
ticket: 摇周边业务的ticket,可在摇到的URL中得到,ticket生效时间为30分钟,每一次摇都会重新生成新的ticket
needPoi: 是否需要返回门店poi_id
Source Files
¶
Click to show internal directories.
Click to hide internal directories.