|
@@ -110,7 +110,7 @@ public class UserCommentServiceImpl extends ServiceImpl<UserCommentMapper, UserC
|
|
|
if(userComment.getGiveNum()>1){
|
|
if(userComment.getGiveNum()>1){
|
|
|
userComment.setGiveNum(userComment.getGiveNum()-1);
|
|
userComment.setGiveNum(userComment.getGiveNum()-1);
|
|
|
this.updateById(userComment);
|
|
this.updateById(userComment);
|
|
|
- return "取消点赞成功";
|
|
|
|
|
|
|
+ return "取消点赞成功!";
|
|
|
}else{
|
|
}else{
|
|
|
return "点赞数量为0,无法取消点赞!";
|
|
return "点赞数量为0,无法取消点赞!";
|
|
|
}
|
|
}
|