feat: 单条评论的回复列表
This commit is contained in:
@@ -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不能为空");
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user