From a9ea1fa73eb7c15f87f4a01db0d19cf08fb80488 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 04 七月 2025 10:18:53 +0800 Subject: [PATCH] 小程序关注列表 --- framework/src/main/resources/mapper/lmk/MySubscribeMapper.xml | 3 +-- buyer-api/src/main/java/cn/lili/controller/lmk/MySubscribeController.java | 2 +- framework/src/main/resources/mapper/lmk/MyCollectMapper.xml | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/buyer-api/src/main/java/cn/lili/controller/lmk/MySubscribeController.java b/buyer-api/src/main/java/cn/lili/controller/lmk/MySubscribeController.java index c741b90..88446a9 100644 --- a/buyer-api/src/main/java/cn/lili/controller/lmk/MySubscribeController.java +++ b/buyer-api/src/main/java/cn/lili/controller/lmk/MySubscribeController.java @@ -38,7 +38,7 @@ } @GetMapping("/page") - @ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉") + @ApiOperation(value = "鎴戠殑鍏虫敞鐢ㄦ埛鍒嗛〉", notes = "鎴戠殑鍏虫敞鐢ㄦ埛鍒嗛〉") public Result page(MySubscribeQuery query) { return mySubscribeService.page(query); } diff --git a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml index f1ff446..71af97c 100644 --- a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml +++ b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml @@ -101,10 +101,7 @@ <result column="video_file_key" property="videoFileKey" /> <result column="video_fit" property="videoFit" /> <result column="title" property="title" /> - <result column="goods_id" property="goodsId" /> - <result column="goods_view_num" property="goodsViewNum" /> <result column="video_duration" property="videoDuration" /> - <result column="goods_order_num" property="goodsOrderNum" /> <result column="recommend" property="recommend" /> <result column="status" property="status" /> <result column="play_num" property="playNum" /> diff --git a/framework/src/main/resources/mapper/lmk/MySubscribeMapper.xml b/framework/src/main/resources/mapper/lmk/MySubscribeMapper.xml index 7b4b73f..09fb7ec 100644 --- a/framework/src/main/resources/mapper/lmk/MySubscribeMapper.xml +++ b/framework/src/main/resources/mapper/lmk/MySubscribeMapper.xml @@ -34,8 +34,7 @@ LMS.subscribe_user_id, LMS.id, LM.nick_name, - LM.face, - (SELECT COUNT(*) FROM lmk_my_subscribe WHERE subscribe_user_id = LMS.subscribe_user_id AND delete_flag = 0) as fans_num + LM.face FROM lmk_my_subscribe LMS LEFT JOIN li_member LM ON LMS.subscribe_user_id = LM.id -- Gitblit v1.8.0