D附件的上传

dev_forum
cxt 5 years ago
parent 70ad915270
commit e65b5692f7

@ -100,7 +100,7 @@ class AttachmentsController < ApplicationController
def current_month_folder
date = Time.now
"#{date.year}/#{date.day.to_s.rjust(2, '0')}"
"#{date.year}/#{date.month.to_s.rjust(2, '0')}"
end
def file_ext(file_name)

Loading…
Cancel
Save