!939 updateCommentVisible 应该用前端传入的显示值
Merge pull request !939 from 云扬四海/fix_comment_bug
This commit is contained in:
commit
7f8d3b31d8
@ -113,7 +113,7 @@ public class ProductCommentServiceImpl implements ProductCommentService {
|
||||
|
||||
// 更新可见状态
|
||||
productCommentMapper.updateById(new ProductCommentDO().setId(updateReqVO.getId())
|
||||
.setVisible(true));
|
||||
.setVisible(updateReqVO.getVisible()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user