BUGFIX: 模特preview;
This commit is contained in:
@@ -132,7 +132,8 @@ public class LibraryController {
|
||||
//存储template临时地址
|
||||
String path = calculateTempFileUrlNew(userInfo.getId());
|
||||
String uploadPath = minioUtil.upload("aida-tmp", path, file);
|
||||
modelsDotDTO.setTemplateUrl(uploadPath);
|
||||
String minioPath = libraryService.processMannequins(uploadPath);
|
||||
modelsDotDTO.setTemplateUrl(minioPath);
|
||||
}else{
|
||||
Assert.notNull(modelsDotDTO.getLibraryId(),"libraryId cannot be empty!");
|
||||
Assert.notNull(modelsDotDTO.getTemplateId(),"templateId cannot be empty!");
|
||||
|
||||
Reference in New Issue
Block a user