feat: 单条评论的回复列表

This commit is contained in:
sjm
2024-07-18 14:58:59 +08:00
parent 44400b30ba
commit 7fd623d94c
11 changed files with 140 additions and 29 deletions

View File

@@ -413,7 +413,7 @@ public class SchisandraOssAliController {
private void parameterCheck(SchisandraOssAliDTO schisandraOssAliDTO) {
Preconditions.checkNotNull(schisandraOssAliDTO.getId(), "不能为空");
Preconditions.checkNotNull(schisandraOssAliDTO.getId(), "ID不能为空");
Preconditions.checkNotNull(schisandraOssAliDTO.getEndpoint(), "OSS地址不能为空");
Preconditions.checkNotNull(schisandraOssAliDTO.getAccessKeyId(), "AccessKey ID不能为空");
Preconditions.checkNotNull(schisandraOssAliDTO.getAccessKeySecret(), "AccessKey Secret不能为空");

View File

@@ -66,7 +66,7 @@ public class SchisandraOssAliDomainServiceImpl implements SchisandraOssAliDomain
@Override
public Boolean delete(SchisandraOssAliBO schisandraOssAliBO) {
SchisandraUserOss userOss = schisandraUserOssService.queryOSSByTypeAndUserId(schisandraOssAliBO.getUserId(), String.valueOf(OssType.ALI));
SchisandraUserOss userOss = schisandraUserOssService.queryOSSByTypeAndUserId(schisandraOssAliBO.getUserId(), OssType.ALI.type);
userOss.setConfigCount(userOss.getConfigCount()-1);
schisandraUserOssService.update(userOss);
SchisandraOssAli schisandraOssAli = new SchisandraOssAli();