Skip to content

Commit

Permalink
管理修改卡片
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Nov 5, 2024
1 parent c1e25d6 commit 302d3c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ public void markPic(final RequestContext context) {
Configuration cfg = new Configuration(Region.autoRegion());
BucketManager bucketManager = new BucketManager(auth, cfg);
String filename = path.replaceAll(Symphonys.UPLOAD_QINIU_DOMAIN + "/", "");
String renameTo = filename + ".fishtmp";
String renameTo = "fishtmp_" + filename;
LOGGER.log(Level.INFO, "Rename cdn file: " + filename + " to: " + renameTo);
bucketManager.rename(Symphonys.UPLOAD_QINIU_BUCKET, filename, renameTo);
String[] urls = new String[]{path};
Expand Down

0 comments on commit 302d3c5

Please sign in to comment.