绑定认证接口 bind
This commit is contained in:
parent
2681cc97dd
commit
0b1b8a4fcd
|
@ -155,6 +155,6 @@ class WechatsController < ActionController::Base
|
||||||
private
|
private
|
||||||
def user_binded?
|
def user_binded?
|
||||||
openid = request[:FromUserName]
|
openid = request[:FromUserName]
|
||||||
uw = UserWechat.where(:openid => open).first
|
uw = UserWechat.where(openid: openid).first
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue