This commit is contained in:
parent
9e4aaa767c
commit
d5a7d10f5d
|
@ -434,6 +434,7 @@ class WechatsController < ActionController::Base
|
|||
session[:wechat_openid] = open_id
|
||||
if params[:code]
|
||||
#不跳转至绑定界面的标志
|
||||
session.delete("login")
|
||||
if params[:state] == "invite_code" || params[:state] == "project_invite_code" || params[:state] == "blog_comment" || params[:state] == "course_notice" || params[:state] == "project_discussion" || params[:state] == "course_discussion" || params[:state] == "homework" || params[:state] == "issues" || params[:state] == "journal_for_message"
|
||||
session["login"] = false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue