This commit is contained in:
yuanke 2016-08-12 15:38:17 +08:00
parent 0369716df7
commit 5b208202a0
2 changed files with 0 additions and 2 deletions

View File

@ -15,7 +15,6 @@ module Mobile
end
post ':id' do
# authenticate!
unless current_user
#如果当前用户不存在
openid = session[:wechat_openid]

View File

@ -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