TASK:cloud;
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user