diff --git a/lib/wechat/lib/wechat/api.rb b/lib/wechat/lib/wechat/api.rb index a3ffff6c9..6ab74acc2 100644 --- a/lib/wechat/lib/wechat/api.rb +++ b/lib/wechat/lib/wechat/api.rb @@ -129,8 +129,10 @@ module Wechat lang: "zh_CN" } - get 'https://api.weixin.qq.com/sns/userinfo',params: params + # get 'https://api.weixin.qq.com/sns/userinfo',params: params # get 'userinfo', params: params, base: OAUTH2_USERINFO + + @client.get 'https://api.weixin.qq.com/sns/userinfo',params end end end