Commit 5062b336 authored by 万成波's avatar 万成波

优化代码

parent e40e7b17
......@@ -43,9 +43,9 @@ spring:
servlet:
multipart:
# 单个文件大小
max-file-size: 100MB
max-file-size: 500MB
# 设置总上传的文件大小
max-request-size: 100MB
max-request-size: 500MB
# 日志配置
logging:
......
......@@ -417,7 +417,7 @@ public class BbsMomentServiceImpl extends ServiceImpl<BbsMomentMapper, BbsMoment
this.commentService.removeById(dbComment.getId());
// 更新动态评论人数
this.baseMapper.decrMomentLikeCount(dbComment.getMomentId(), 1);
this.baseMapper.decrMomentCommentCount(dbComment.getMomentId(), 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment