mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-12 22:02:55 +00:00
updateCommentVisible 应该用前端传入的显示值
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user