|
|
@ -243,7 +243,6 @@ class ApplicationController < ActionController::Base
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 测试版前端需求
|
|
|
|
# 测试版前端需求
|
|
|
|
logger.info("######domain: #{request.host}")
|
|
|
|
|
|
|
|
if request.host == "47.96.87.25"
|
|
|
|
if request.host == "47.96.87.25"
|
|
|
|
if params[:debug] == 'teacher' #todo 为了测试,记得讲debug删除
|
|
|
|
if params[:debug] == 'teacher' #todo 为了测试,记得讲debug删除
|
|
|
|
User.current = User.find 81403
|
|
|
|
User.current = User.find 81403
|
|
|
|