updateCommentVisible 应该用前端传入的显示值
This commit is contained in:
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…
Reference in New Issue
Block a user