| | |
| | | import cn.lili.modules.lmk.constant.RedisKeyExpireConstant; |
| | | import cn.lili.modules.lmk.domain.entity.ThumbsUpRecord; |
| | | import cn.lili.modules.lmk.domain.form.ThumbsUpRecordForm; |
| | | import cn.lili.modules.lmk.domain.query.VideoCommentMangerQuery; |
| | | import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; |
| | | import cn.lili.modules.lmk.enums.general.VideoCommentStatusEnum; |
| | | import cn.lili.modules.lmk.event.event.VideoCommentNumCacheEvent; |
| | |
| | | private final RocketmqCustomProperties rocketmqCustomProperties; |
| | | private final ApplicationEventPublisher eventPublisher; |
| | | |
| | | @Override |
| | | public Result mangerComment(VideoCommentMangerQuery query) { |
| | | IPage<VideoCommentVO> page = PageUtil.getPage(query, VideoCommentVO.class); |
| | | baseMapper.getManagerPage(page, query); |
| | | return Result.ok().data(page.getRecords()).total(page.getTotal()); |
| | | } |
| | | |
| | | /** |
| | | * 添加 |
| | | * @param form |