|
|
|
@ -24,7 +24,7 @@ class ApplicationController < ActionController::Base
|
|
|
|
|
# 所有请求必须合法签名
|
|
|
|
|
def check_sign
|
|
|
|
|
Rails.logger.info("#####################request: #{request.headers}")
|
|
|
|
|
Rails.logger.info("#####################type: #{request.type}")
|
|
|
|
|
#Rails.logger.info("#####################type: #{request.type}")
|
|
|
|
|
if !Rails.env.development? && EduSetting.get("host_name") != "https://test-newweb.educoder.net"
|
|
|
|
|
Rails.logger.info("66666 #{params}")
|
|
|
|
|
# suffix = request.url.split(".").last.split("?").first
|
|
|
|
|