Commit 75b4d460bd26c3a8ca04c5b98932251c8ed79cf0
1 parent
a58d16b3
修复禁言管理bug
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/NotspeakServiceImpl.java
| ... | ... | @@ -204,7 +204,7 @@ public class NotspeakServiceImpl { |
| 204 | 204 | shyNotspeak.setUpdated_at(CommonUtils.getCurrentTime()); |
| 205 | 205 | shyNotspeak.setMsg(shyNotspeak.getMsg() + "\n" + msg); |
| 206 | 206 | boolean res = updateshyNotspeak(shyNotspeak); |
| 207 | - if (res) { | |
| 207 | + if (!res) { | |
| 208 | 208 | success = new ResponseBean(500, "评论禁言修改禁言表失败!"); |
| 209 | 209 | return success; |
| 210 | 210 | } | ... | ... |