微信审核路径修改

This commit is contained in:
yuanke 2016-08-24 09:30:28 +08:00
parent 3af5bc5813
commit e0ab93b739
1 changed files with 1 additions and 0 deletions

View File

@ -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