|
|
|
@ -107,4 +107,9 @@ class UpdateHomeworkSettingService < ApplicationService
|
|
|
|
|
homework.save!
|
|
|
|
|
HomeworkCommonPushNotifyJob.perform_later(homework.id, publish_group_ids) if send_tiding
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
private
|
|
|
|
|
def tip_exception(status = -1, message)
|
|
|
|
|
raise Educoder::TipException.new(status, message)
|
|
|
|
|
end
|
|
|
|
|
end
|