This commit is contained in:
parent
0369716df7
commit
5b208202a0
|
@ -15,7 +15,6 @@ module Mobile
|
|||
end
|
||||
post ':id' do
|
||||
# authenticate!
|
||||
|
||||
unless current_user
|
||||
#如果当前用户不存在
|
||||
openid = session[:wechat_openid]
|
||||
|
|
|
@ -130,7 +130,6 @@ module Wechat
|
|||
}
|
||||
|
||||
get 'https://api.weixin.qq.com/sns/userinfo',params: params
|
||||
|
||||
# get 'userinfo', params: params, base: OAUTH2_USERINFO
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue