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

plp
yunlongn 2 years ago
parent f623156829
commit 325c03dfd4

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

Loading…
Cancel
Save