BUGFIX: sketchBoard upload checkMd5校验;

TASK: 分类;
This commit is contained in:
shahaibo
2023-11-03 14:59:19 +08:00
parent 85a815dddc
commit bb1c56182e
13 changed files with 412 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ public class LibraryController {
if (StringUtils.isEmpty(modelType)) {
throw new BusinessException("modelType.cannot.be.empty");
}
if (modelType.equals(ModelType.SYSTEM.getValue()) && StringUtils.isEmpty(sex)) {
if (StringUtils.isEmpty(sex)) {
throw new BusinessException("modelSex.cannot.be.empty");
}
FileVO fileVO = FileUtil.getFileSize(file);