This commit is contained in:
parent
efc1c106a4
commit
0369716df7
|
@ -125,9 +125,13 @@ module Wechat
|
|||
def web_userinfo(access_token,openid)
|
||||
params = {
|
||||
access_token: access_token,
|
||||
openid: openid
|
||||
openid: openid,
|
||||
lang: "zh_CN"
|
||||
}
|
||||
get 'userinfo', params: params, base: OAUTH2_USERINFO
|
||||
|
||||
get 'https://api.weixin.qq.com/sns/userinfo',params: params
|
||||
|
||||
# get 'userinfo', params: params, base: OAUTH2_USERINFO
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue