流程引擎框架搭建

This commit is contained in:
2025-11-27 12:36:41 +08:00
parent fdae339b17
commit 05a2affb2f
51 changed files with 2842 additions and 3 deletions

View File

@@ -1572,8 +1572,8 @@ public class MinioFileIDataFileServiceImpl implements IDataFileService {
}
String suffix = originalFilename.substring(originalFilename.lastIndexOf(".") + 1);
if (!"jpg,jpeg,gif,png,bmp,webp".toUpperCase().contains(suffix.toUpperCase())) {
return SdmResponse.failed("请选择jpg,jpeg,gif,png,bmp,webp格式的图片");
if (!"jpg,jpeg,gif,png,bmp,webp,svg".toUpperCase().contains(suffix.toUpperCase())) {
return SdmResponse.failed("请选择jpg,jpeg,gif,png,bmp,webp,svg格式的图片");
}
// 获取 avatar 目录的 id