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

This commit is contained in:
yunlongn 2024-04-09 16:35:41 +08:00
parent f623156829
commit 325c03dfd4

View File

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