Skip to content

Commit

Permalink
修复七牛云无法删除的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Sep 8, 2019
1 parent 58b1e2e commit 8053570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void delete(QiniuContent content, QiniuConfig config) {
Auth auth = Auth.create(config.getAccessKey(), config.getSecretKey());
BucketManager bucketManager = new BucketManager(auth, cfg);
try {
bucketManager.delete(content.getBucket(), content.getKey());
bucketManager.delete(content.getBucket(), content.getKey() + "." + content.getSuffix());
qiniuContentRepository.delete(content);
} catch (QiniuException ex) {
qiniuContentRepository.delete(content);
Expand Down

0 comments on commit 8053570

Please sign in to comment.