Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取设备状态api有误 #36

Closed
wxhuang opened this issue May 8, 2015 · 2 comments
Closed

获取设备状态api有误 #36

wxhuang opened this issue May 8, 2015 · 2 comments

Comments

@wxhuang
Copy link

wxhuang commented May 8, 2015

lib/api_device.js

make(exports, 'getDeviceStatus', function (deviceId, callback) {
  // https://api.weixin.qq.com/device/get_stat?access_token=ACCESS_TOKEN&device_id=DEVICE_ID
  var url = 'https://api.weixin.qq.com/device/compel_unbind?access_token=' + this.token.accessToken + "&device_id=" + deviceId;
  this.request(url, {dataType: 'json'}, wrapper(callback));
});

请改正.

@JacksonTian
Copy link
Member

提pr

发自我的 iPhone

在 2015年5月8日,下午4:06,wxhuang notifications@github.com 写道:

lib/api_device.js

make(exports, 'getDeviceStatus', function (deviceId, callback) {
// https://api.weixin.qq.com/device/get_stat?access_token=ACCESS_TOKEN&device_id=DEVICE_ID
var url = 'https://api.weixin.qq.com/device/compel_unbind?access_token=' + this.token.accessToken + "&device_id=" + deviceId;
this.request(url, {dataType: 'json'}, wrapper(callback));
});
请改正.


Reply to this email directly or view it on GitHub.

@JacksonTian
Copy link
Member

Fixed in 0e6c7e9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants