This commit is contained in:
yuanke 2016-08-12 15:27:47 +08:00
parent ae437912d8
commit efc1c106a4
1 changed files with 1 additions and 2 deletions

View File

@ -125,8 +125,7 @@ module Wechat
def web_userinfo(access_token,openid)
params = {
access_token: access_token,
openid: openid,
lang: "zh_CN"
openid: openid
}
get 'userinfo', params: params, base: OAUTH2_USERINFO
end