TASK:模块化;

This commit is contained in:
shahaibo
2025-04-01 15:20:59 +08:00
parent 03f3162dc1
commit 913c4c1ece
5 changed files with 41 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ public class LibraryController {
@RequestParam(value = "timeZone") String timeZone,
@RequestParam(value = "modelType") String modelType,
@RequestParam(value = "sex") String sex,
@RequestParam(value = "ageGroup") String ageGroup,
@RequestParam(value = "checkMd5") Integer checkMd5) {
if (null == file || StringUtils.isEmpty(file.getOriginalFilename())) {
throw new BusinessException("file.cannot.be.empty");
@@ -99,7 +100,7 @@ public class LibraryController {
}
}
return Response.success(libraryService.upload(new LibraryUploadDTO(file, level1Type, level2Type,
timeZone, md5, high, width, modelType, sex)));
timeZone, md5, high, width, modelType, sex, ageGroup)));
}
@ApiOperation(value = "保存或者编辑template打点")