BUGFIX: sketchBoard upload checkMd5校验;
TASK: 分类;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user