| | |
| | | } |
| | | } |
| | | |
| | | VideoMasterItemsEntity currentItem = this.videoMasterItemsMapper.selectItemByVideoIdAndItemId(videoId, itemId); |
| | | if (currentItem == null) { |
| | | throw new FebsException("视频不存在"); |
| | | } |
| | | |
| | | if (loginUser != null) { |
| | | VideoCommentLikeEntity commentLike = this.videoCommentLikeMapper.selectCommentLikeByMemberIdAndRelateId(loginUser.getId(), videoInfoEntity.getId()); |
| | | if (commentLike != null) { |
| | | videoInfoVo.setIsLike(1); |
| | |
| | | } else { |
| | | videoInfoVo.setIsCollect(2); |
| | | } |
| | | } |
| | | |
| | | VideoMasterItemsEntity currentItem = this.videoMasterItemsMapper.selectItemByVideoIdAndItemId(videoId, itemId); |
| | | if (currentItem == null) { |
| | | throw new FebsException("视频不存在"); |
| | | } |
| | | |
| | | videoInfoVo.setNotLogin(AppContants.FLAG_INT_Y); |
| | | videoInfoVo.setNotVip(AppContants.FLAG_INT_Y); |