This commit is contained in:
parent
1f8ea39765
commit
9fcb43b949
|
@ -28,6 +28,9 @@ module Mobile
|
|||
|
||||
access_token = session[:access_token]
|
||||
|
||||
logger.info "session!!!!!!!!!"
|
||||
logger.info session
|
||||
|
||||
if access_token
|
||||
userinfo = Wechat.api.web_userinfo(access_token,openid)
|
||||
name = userinfo[:nickname]
|
||||
|
|
Loading…
Reference in New Issue