1、发布工具流程-关联工具细节调整
2、文档资源管理调整
This commit is contained in:
@@ -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); // 去掉点(.)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user