流程引擎框架搭建
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user