Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
jingquan huang 6 years ago
commit a770e13ac9

@ -107,7 +107,9 @@ class HomeworkCommonsController < ApplicationController
student_works = @homework.all_works
@all_member_count = student_works.size
if @homework.publish_time.nil? || (@homework.publish_time > Time.now)
logger.info("###########______@homework.publish_time_________#{@homework.publish_time}")
if @homework.publish_time.present? || (@homework.publish_time > Time.now)
@student_works = []
if (params[:format] == "xlsx") || (params[:format] == "zip")
normal_status(-1,"作业未发布")

Loading…
Cancel
Save