Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
safe-campus-bbs
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
万成波
safe-campus-bbs
Commits
5062b336
Commit
5062b336
authored
Oct 10, 2025
by
万成波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
e40e7b17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
safe-campus-admin/src/main/resources/application.yml
safe-campus-admin/src/main/resources/application.yml
+2
-2
safe-campus-moment/src/main/java/com/tangguo/service/impl/BbsMomentServiceImpl.java
...n/java/com/tangguo/service/impl/BbsMomentServiceImpl.java
+1
-1
No files found.
safe-campus-admin/src/main/resources/application.yml
View file @
5062b336
...
@@ -43,9 +43,9 @@ spring:
...
@@ -43,9 +43,9 @@ spring:
servlet
:
servlet
:
multipart
:
multipart
:
# 单个文件大小
# 单个文件大小
max-file-size
:
1
00MB
max-file-size
:
5
00MB
# 设置总上传的文件大小
# 设置总上传的文件大小
max-request-size
:
1
00MB
max-request-size
:
5
00MB
# 日志配置
# 日志配置
logging
:
logging
:
...
...
safe-campus-moment/src/main/java/com/tangguo/service/impl/BbsMomentServiceImpl.java
View file @
5062b336
...
@@ -417,7 +417,7 @@ public class BbsMomentServiceImpl extends ServiceImpl<BbsMomentMapper, BbsMoment
...
@@ -417,7 +417,7 @@ public class BbsMomentServiceImpl extends ServiceImpl<BbsMomentMapper, BbsMoment
this
.
commentService
.
removeById
(
dbComment
.
getId
());
this
.
commentService
.
removeById
(
dbComment
.
getId
());
// 更新动态评论人数
// 更新动态评论人数
this
.
baseMapper
.
decrMoment
Like
Count
(
dbComment
.
getMomentId
(),
1
);
this
.
baseMapper
.
decrMoment
Comment
Count
(
dbComment
.
getMomentId
(),
1
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment