diff --git a/src/main/java/com/example/jieyue/common/utils/GiteeImgBedUtils.java b/src/main/java/com/example/jieyue/common/utils/GiteeImgBedUtils.java index a54dc24..a6624a2 100644 --- a/src/main/java/com/example/jieyue/common/utils/GiteeImgBedUtils.java +++ b/src/main/java/com/example/jieyue/common/utils/GiteeImgBedUtils.java @@ -84,6 +84,9 @@ public class GiteeImgBedUtils { *

删除

*/ public static boolean delete(String path) { + if(path.contains("default")) { + return true; + } try { String targetUrl = GiteeImgBedUtils.deleteFileUrl(path); Map map = getDeleteBodyMap(path); diff --git a/src/main/resources/templates/admin/merchant/index.html b/src/main/resources/templates/admin/merchant/index.html index 3ef6656..1ce51b9 100644 --- a/src/main/resources/templates/admin/merchant/index.html +++ b/src/main/resources/templates/admin/merchant/index.html @@ -95,16 +95,16 @@ -
- -
+ + + +
-
-
diff --git a/src/main/resources/templates/merchant/goods/index.html b/src/main/resources/templates/merchant/goods/index.html index 0a2e809..91046e7 100644 --- a/src/main/resources/templates/merchant/goods/index.html +++ b/src/main/resources/templates/merchant/goods/index.html @@ -153,16 +153,16 @@ - + --> -