From cd2662731b757fb5675b987e8262034a7853eeac Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 4 Jul 2019 17:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tasks/competiton_notice_20190704.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/competiton_notice_20190704.rake b/lib/tasks/competiton_notice_20190704.rake index 92a273fe..0dc7e6fb 100644 --- a/lib/tasks/competiton_notice_20190704.rake +++ b/lib/tasks/competiton_notice_20190704.rake @@ -4,7 +4,7 @@ namespace :competition_notice do task :send_message => :environment do puts "--------------------------------competition_notice send_message start" - attachment = Attachment.where(id: 230670).first + attachment = Attachment.where(id: 375091).first if attachment.present? path = attachment.disk_directory name = attachment.disk_filename