This commit is contained in:
parent
1a835a25db
commit
e21f7a34bd
|
@ -66,6 +66,8 @@ module Mobile
|
|||
# userinfo = Wechat.api.web_userinfo(access_token,openid)
|
||||
|
||||
Rails.logger.info userinfo
|
||||
Rails.logger.info userinfo["nickname"]
|
||||
Rails.logger.info userinfo[:nickname]
|
||||
name = userinfo["nickname"]
|
||||
else
|
||||
name = openid[0..3]+"***"+openid.last
|
||||
|
|
Loading…
Reference in New Issue