TASK:cloud;

This commit is contained in:
shahaibo
2025-06-06 15:19:00 +08:00
parent fb5b52bec2
commit bf258ee4f9
2 changed files with 5 additions and 3 deletions

View File

@@ -24,4 +24,6 @@ public class CollectionSort implements Serializable {
private Long projectId; private Long projectId;
private Long relationId; private Long relationId;
private String relationType; private String relationType;
private Long parentId;
} }

View File

@@ -564,9 +564,9 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
if (null == file || StringUtils.isEmpty(file.getOriginalFilename())) { if (null == file || StringUtils.isEmpty(file.getOriginalFilename())) {
throw new BusinessException("file.cannot.be.empty"); throw new BusinessException("file.cannot.be.empty");
} }
if (projectId == null) { // if (projectId == null) {
throw new BusinessException("projectId.cannot.be.empty"); // throw new BusinessException("projectId.cannot.be.empty");
} // }
AuthPrincipalVo userHolder = UserContext.getUserHolder(); AuthPrincipalVo userHolder = UserContext.getUserHolder();
String bucketName = "aida-users"; String bucketName = "aida-users";
String minioUrl = minioUtil.upload(bucketName, userHolder.getId() + "/toProductImageElement", file); String minioUrl = minioUtil.upload(bucketName, userHolder.getId() + "/toProductImageElement", file);