|
|
|
@ -204,8 +204,10 @@ class ApplicationController < ActionController::Base
|
|
|
|
|
User.current = User.find 12
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# User.current = User.find 81403
|
|
|
|
|
|
|
|
|
|
if params[:debug] == 'teacher' #todo 为了测试,记得讲debug删除
|
|
|
|
|
User.current = User.find 49610
|
|
|
|
|
User.current = User.find 81403
|
|
|
|
|
elsif params[:debug] == 'student'
|
|
|
|
|
User.current = User.find 8686
|
|
|
|
|
elsif params[:debug] == 'admin'
|
|
|
|
|