地址问题,时间判断问题

This commit is contained in:
2024-12-30 20:47:24 +08:00
parent aa7d1fab52
commit 2031b77f12
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ public class StorageUtil {
}
public static String getRelativePath(String fullPath, String relativeOn) {
if (StringUtils.isBlank(relativeOn)) {
if (StringUtils.isNotBlank(relativeOn)) {
fullPath = fullPath.replace(relativeOn, "");
}
if (fullPath.startsWith("/")) {