dev_bj
cxt 6 years ago
parent 305c665535
commit cd2662731b

@ -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

Loading…
Cancel
Save