|
|
@ -211,7 +211,7 @@ class ApplicationController < ActionController::Base
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if params[:debug] == 'teacher' #todo 为了测试,记得讲debug删除
|
|
|
|
if params[:debug] == 'teacher' #todo 为了测试,记得讲debug删除
|
|
|
|
User.current = User.find_by_phone("153880833362")
|
|
|
|
User.current = User.find 81403
|
|
|
|
elsif params[:debug] == 'student'
|
|
|
|
elsif params[:debug] == 'student'
|
|
|
|
User.current = User.find 8686
|
|
|
|
User.current = User.find 8686
|
|
|
|
elsif params[:debug] == 'admin'
|
|
|
|
elsif params[:debug] == 'admin'
|
|
|
|