From 97a55d2e9a7e6ee36d95e08731dd374f5fd93fa1 Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Thu, 26 Jun 2025 22:24:30 +0800 Subject: [PATCH] fix: 优化DuplicateKeyException异常消息展示 --- oying-tools/src/main/java/com/oying/domain/BucketStorage.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/oying-tools/src/main/java/com/oying/domain/BucketStorage.java b/oying-tools/src/main/java/com/oying/domain/BucketStorage.java index 9baedd1..e9a4a35 100644 --- a/oying-tools/src/main/java/com/oying/domain/BucketStorage.java +++ b/oying-tools/src/main/java/com/oying/domain/BucketStorage.java @@ -46,4 +46,13 @@ public void copy(BucketStorage source){ BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); } + + public BucketStorage(String realName,String name, String suffix, String path, String type, String size) { + this.realName = realName; + this.name = name; + this.suffix = suffix; + this.path = path; + this.type = type; + this.size = size; + } } -- Gitblit v1.9.3