!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

View File

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