|
|
@ -799,6 +799,8 @@ class CoursesController < ApplicationController
|
|
|
|
uid_logger_error(e.message)
|
|
|
|
uid_logger_error(e.message)
|
|
|
|
normal_status(-1, "无法完成导入,原因:文件内容无法读取")
|
|
|
|
normal_status(-1, "无法完成导入,原因:文件内容无法读取")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
normal_status(-1, "只支持xls文件的导入")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|