给商品和单据的批量删除做图片的逻辑删除(给路径加上list,方便区分)
This commit is contained in:
parent
e15e981006
commit
4ab7884641
@ -410,8 +410,8 @@ public class SystemConfigService {
|
||||
String filePathStr = StringUtil.isNotEmpty(filePath)? filePath.substring(1):"";
|
||||
String sourceObjectKey = filePathStr + "/" + path;
|
||||
String sourceSmallObjectKey = filePathStr + "-small/" + path;
|
||||
String destinationObjectKey = DELETED + "/" + sourceObjectKey;
|
||||
String destinationSmallObjectKey = DELETED + "/" + sourceSmallObjectKey;
|
||||
String destinationObjectKey = DELETED + "/list/" + sourceObjectKey;
|
||||
String destinationSmallObjectKey = DELETED + "/list/" + sourceSmallObjectKey;
|
||||
this.copySourceToDest(ossClient, bucketName, sourceObjectKey, destinationObjectKey);
|
||||
this.copySourceToDest(ossClient, bucketName, sourceSmallObjectKey, destinationSmallObjectKey);
|
||||
} catch (Exception e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user