From e868be6c913a6a99e1491c088d052a5f58e252f9 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 22 五月 2025 18:08:30 +0800 Subject: [PATCH] xxl-job调整、视频收藏 --- buyer-api/src/main/java/cn/lili/controller/lmk/VideoController.java | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 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 7d66e4f..ec8ab0d 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,5 +1,6 @@ package cn.lili.controller.lmk; +import cn.lili.base.AbsQuery; import cn.lili.group.Update; import cn.lili.group.Add; import org.springframework.validation.annotation.Validated; @@ -57,21 +58,16 @@ return videoService.remove(ids); } - @GetMapping("/page") - @ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉") - public Result page(VideoQuery query) { - return videoService.page(query); - } - @GetMapping("/{id}") @ApiOperation(value = "璇︽儏", notes = "璇︽儏") - public Result detail(@PathVariable("id") Integer id) { + public Result detail(@PathVariable("id") String id) { return videoService.detail(id); } - @GetMapping("/list") - @ApiOperation(value = "鍒楄〃", notes = "鍒楄〃") - public Result list() { - return videoService.all(); + @GetMapping("/recommend") + @ApiOperation(value = "瑙嗛鎺ㄨ崘", notes = "瑙嗛鎺ㄨ崘") + public Result recommendVideo(AbsQuery query) { + return videoService.recommendVideo(query); } + } -- Gitblit v1.8.0