This commit is contained in:
sylor_huang@126.com 2020-08-19 17:58:04 +08:00
parent 8fac294d04
commit 95ede63220
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class AttachmentsController < ApplicationController
@attachment.digest = digest
@attachment.author_id = current_user.id
@attachment.disk_directory = month_folder
@attachment.cloud_url = remote_path
# @attachment.cloud_url = remote_path
# @attachment.save!
if @attachment.save!
check_result = Attachment.check_image_able(dun_check_file)