From e636396c6c16f56931edc8b57b8efb6b9a165786 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 29 八月 2025 17:59:09 +0800 Subject: [PATCH] 评论 --- framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoCommentServiceImpl.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoCommentServiceImpl.java b/framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoCommentServiceImpl.java index ca4e7af..1be4cde 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoCommentServiceImpl.java +++ b/framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoCommentServiceImpl.java @@ -9,6 +9,7 @@ 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; @@ -63,6 +64,13 @@ 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 @@ -70,6 +78,8 @@ */ @Override public Result comment(VideoCommentForm form) { + System.out.println("鎵撳嵃璇勮:"+form); + // 鐩戞祴鍐呭鏄惁鍖呭惈鏁忔劅璇� if (SensitiveWordsFilter.includeSentenceWord(form.getCommentContent())) { return Result.error("璇勮鍚晱鎰熷唴瀹�"); -- Gitblit v1.8.0