1、发布工具流程-关联工具细节调整

2、文档资源管理调整
This commit is contained in:
pan
2024-08-29 22:01:03 +08:00
parent f1b84cb823
commit f0a14bcd3c
19 changed files with 995 additions and 53 deletions

View File

@@ -328,4 +328,12 @@ public class FileUploadUtils
}
return null;
}
public static String extractSuffix(String filePath) {
int lastDotIndex = filePath.lastIndexOf('.');
if (lastDotIndex == -1) {
return ""; // 没有后缀
}
return filePath.substring(lastDotIndex + 1); // 去掉点(.
}
}