|
|
@ -15,6 +15,7 @@ class UsersController < ApplicationController
|
|
|
|
def get_user_info
|
|
|
|
def get_user_info
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
@user = current_user
|
|
|
|
@user = current_user
|
|
|
|
|
|
|
|
uid_logger_error("############{@user.id}")
|
|
|
|
# TODO 等消息上线再打开注释
|
|
|
|
# TODO 等消息上线再打开注释
|
|
|
|
#@tidding_count = unviewed_tiddings(current_user) if current_user.present?
|
|
|
|
#@tidding_count = unviewed_tiddings(current_user) if current_user.present?
|
|
|
|
@course =
|
|
|
|
@course =
|
|
|
@ -37,6 +38,7 @@ class UsersController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
@course_identity = current_user.course_identity(@course) if @course
|
|
|
|
@course_identity = current_user.course_identity(@course) if @course
|
|
|
|
rescue Exception => e
|
|
|
|
rescue Exception => e
|
|
|
|
|
|
|
|
uid_logger_error(e.message)
|
|
|
|
missing_template
|
|
|
|
missing_template
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|