绑定认证接口 bind

This commit is contained in:
guange 2016-01-19 14:40:39 +08:00
parent 2681cc97dd
commit 0b1b8a4fcd
1 changed files with 1 additions and 1 deletions

View File

@ -155,6 +155,6 @@ class WechatsController < ActionController::Base
private
def user_binded?
openid = request[:FromUserName]
uw = UserWechat.where(:openid => open).first
uw = UserWechat.where(openid: openid).first
end
end