师资培训回调域名更改

dev_local_lzdx
daiao 3 years ago
parent 19a34b2a92
commit af28959e4e

@ -6,7 +6,7 @@ class TrainingsController < ApplicationController
skip_before_filter :check_if_login_required skip_before_filter :check_if_login_required
skip_before_filter :verify_signature, except: [:auth, :auth_callback, :pay_callback] skip_before_filter :verify_signature, except: [:auth, :auth_callback, :pay_callback]
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}" ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://engineer.educoder.net"
before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback] before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]

Loading…
Cancel
Save