回调域名更改

dev_local_lzdx
daiao 3 years ago
parent af28959e4e
commit b3a1ddd00f

@ -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}://engineer.educoder.net" ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback] before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]

Loading…
Cancel
Save