weixin_guange
yuanke 9 years ago
parent 9fcb43b949
commit d60857eaea

@ -338,7 +338,7 @@ class WechatsController < ActionController::Base
raise "请在微信中关注Trustie创新实践平台后再打开本页面" unless openid
uw = UserWechat.where(openid: openid).first
raise "还未绑定trustie帐户" unless uw
raise "还未绑定trustie帐户" unless (uw && uw.bindtype == 0)
logger.debug "get_bind ============= #{uw}"
user = uw.user

Loading…
Cancel
Save