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 end
post ':id' do post ':id' do
# authenticate! # authenticate!
unless current_user unless current_user
#如果当前用户不存在 #如果当前用户不存在
openid = session[:wechat_openid] openid = session[:wechat_openid]

View File

@ -130,7 +130,6 @@ module Wechat
} }
get 'https://api.weixin.qq.com/sns/userinfo',params: params get 'https://api.weixin.qq.com/sns/userinfo',params: params
# get 'userinfo', params: params, base: OAUTH2_USERINFO # get 'userinfo', params: params, base: OAUTH2_USERINFO
end end
end end