Discover Packages
gopkg.in/chanxuehong/wechat.v2
mp
shakearound
user
package
Version:
v2.0.0-...-fa408c6
Opens a new window with list of versions in this module.
Published: Apr 2, 2019
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.