微信审核路径修改
This commit is contained in:
parent
3af5bc5813
commit
e0ab93b739
|
@ -436,6 +436,7 @@ class WechatsController < ActionController::Base
|
|||
session[:wechat_openid] = open_id
|
||||
if params[:code]
|
||||
if params[:state].match("review_class_member") || params[:state].match("review_project_member")
|
||||
@path = params[:state].split('/')[0]
|
||||
useridstr = params[:state].split('/')[1]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue