给商品和单据的批量删除做图片的逻辑删除(给路径加上list,方便区分)

This commit is contained in:
jishenghua 2024-12-02 22:52:43 +08:00
parent e15e981006
commit 4ab7884641

View File

@ -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) {