即时通讯使用spring MVC并且我试图上传一个公式,但是在更改信息时,我得到了2个版本,旧版本和新版本。如何保持新的?请帮帮我
这是行为的代码
has_attached_file :marketing_image, default_url: '',
styles: {:thumb => ['66x80>', :png]},
hash_secret: "marketing-image-magic",
url: "/system/:class/:attachment/:id_partition/:style/:hash.:extension",
storage: :s3,
s3_credentials: {
bucket: ENV['AWS_BUCKET_NAME'],
access_key_id: ENV['AWS_ACCESS_KEY_ID'],
secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'] },
s3_permissions: :public_read,
s3_headers: { 'Cache-Control' => 'max-age=315576000',
'Expires' => 10.years.from_now.httpdate },
s3_protocol: 'https'
btw creerclient是vue的名字