!939 updateCommentVisible 应该用前端传入的显示值

Merge pull request !939 from 云扬四海/fix_comment_bug
This commit is contained in:
芋道源码 2024-04-14 13:58:26 +00:00 committed by Gitee
commit 7f8d3b31d8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -113,7 +113,7 @@ public class ProductCommentServiceImpl implements ProductCommentService {
// 更新可见状态
productCommentMapper.updateById(new ProductCommentDO().setId(updateReqVO.getId())
.setVisible(true));
.setVisible(updateReqVO.getVisible()));
}
@Override