dev_forum
SylorHuang 5 years ago
parent d2f1a7a06b
commit 3fecc15aa7

@ -114,6 +114,8 @@ class HomeworkCommonsController < ApplicationController
logger.info("+++++++++++++++++#{@homework.publish_time}") logger.info("+++++++++++++++++#{@homework.publish_time}")
@student_works = [] @student_works = []
if (params[:format] == "xlsx") || (params[:format] == "zip") if (params[:format] == "xlsx") || (params[:format] == "zip")
logger.info("++++++params[:format]params[:format]params[:format]params[:format]+++++++++++#{params[:format]}")
normal_status(-1,"作业未发布") normal_status(-1,"作业未发布")
end end
else else

Loading…
Cancel
Save