From c40de9bb90004789c90d1c35ccb86fed16844d7b Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 04 七月 2025 18:17:20 +0800 Subject: [PATCH] 查询视频播放记录 --- buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java b/buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java index 9881fd1..32fc3b6 100644 --- a/buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java +++ b/buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java @@ -1,21 +1,22 @@ package cn.lili.controller.lmk; -import cn.lili.group.Update; +import cn.lili.base.Result; import cn.lili.group.Add; +import cn.lili.group.Update; import cn.lili.modules.lmk.domain.form.ThumbsUpRecordForm; import cn.lili.modules.lmk.domain.form.VideoFootPrintForm; import cn.lili.modules.lmk.domain.form.VideoHomePageInfoForm; import cn.lili.modules.lmk.domain.form.WxVideoForm; import cn.lili.modules.lmk.domain.query.*; -import org.springframework.validation.annotation.Validated; -import lombok.RequiredArgsConstructor; -import java.util.List; -import javax.validation.constraints.NotEmpty; +import cn.lili.modules.lmk.service.VideoService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; -import cn.lili.modules.lmk.service.VideoService; -import cn.lili.base.Result; +import lombok.RequiredArgsConstructor; +import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; + +import javax.validation.constraints.NotEmpty; +import java.util.List; /** * 瑙嗛鍐呭 鍓嶇鎺у埗鍣� @@ -154,4 +155,10 @@ public Result goodsSimilarly(@RequestBody VideoQuery query) { return videoService.recommendVideo(query); } + + @GetMapping("/history") + @ApiOperation(value = "鑾峰彇鍘嗗彶鎾斁璁板綍") + public Result getHistoryPage(VideoHistoryQuery query) { + return videoService.getHistoryPage(query); + } } -- Gitblit v1.8.0