Open Messilimeng opened 6 years ago
exports.getPageStatistics = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/statistics/page?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.listBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/getlist?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.queryGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/getdetail?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.addBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/add?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.updateBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/update?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.deleteBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/delete?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.addGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/adddevice?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.deleteGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/deletedevice?access_token=' + accessToken; return this.request(url, postJSON(options)); };
欢迎提 PR 贡献。
exports.getPageStatistics = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/statistics/page?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.listBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/getlist?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.queryGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/getdetail?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.addBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/add?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.updateBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/update?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.deleteBeaconGroup = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/delete?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.addGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/adddevice?access_token=' + accessToken; return this.request(url, postJSON(options)); };
exports.deleteGroupBeacons = async function (options) { const { accessToken } = await this.ensureAccessToken(); var url = 'https://api.weixin.qq.com/shakearound/device/group/deletedevice?access_token=' + accessToken; return this.request(url, postJSON(options)); };