From cc1bab39263e90069ccef7139f71b2a4061780d1 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 16 六月 2025 15:29:03 +0800 Subject: [PATCH] 刷视频悬挂商品展示、点击视频商品展示 --- framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 72 +++++++++++++++++++++++++++++++++--- 1 files changed, 66 insertions(+), 6 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java index b13cb9b..73fe761 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java +++ b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java @@ -1,13 +1,15 @@ package cn.lili.modules.lmk.service; +import cn.lili.group.Add; import cn.lili.modules.lmk.domain.entity.Video; import cn.lili.modules.lmk.domain.form.*; -import cn.lili.modules.lmk.domain.query.AuthorVideoQuery; -import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; +import cn.lili.modules.lmk.domain.query.*; import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; import com.baomidou.mybatisplus.extension.service.IService; import cn.lili.base.Result; -import cn.lili.modules.lmk.domain.query.VideoQuery; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.RequestBody; + import java.util.List; /** @@ -23,14 +25,14 @@ * @param form * @return */ - Result add(VideoForm form); + Result add(WxVideoForm form); /** * 淇敼 * @param form * @return */ - Result update(VideoForm form); + Result update(WxVideoForm form); /** * 鎵归噺鍒犻櫎 @@ -72,7 +74,7 @@ * @param form * @return */ - Result publish(VideoForm form); + Result publish(WxVideoForm form); /** * 骞冲彴绔棰戝垎椤� @@ -175,4 +177,62 @@ * @return */ Result homePageInfoEdit(VideoHomePageInfoForm form); + + /** + * 灏忕▼搴�-瑙嗛璇︽儏 + * + * @param id + * @return + */ + Result wxDetail(String id); + + /** + * 澶у仴搴疯棰戝彂甯� + * + * @param form + * @return + */ + Result healthVideo(HealthVideoForm form); + /** + * 淇敼澶у仴搴疯棰� + * + * @param form + * @return + */ + Result updateHealthVideo(HealthVideoForm form); + /** + * 澶у仴搴疯棰戝垪琛� + * + * @param query + * @return + */ + Result healthPage(HealthVideoQuery query); + /** + * 鍒犻櫎澶у仴搴疯棰� + + * @param id 涓婚敭id + * @return + */ + Result delHealth(String id); + + Result addKitchenVideo( KitchenVideoForm form); + + Result updateKitchenVideo( KitchenVideoForm form); + /** + * 鍘ㄧ瑙嗛鍒楄〃 + * + * @param query + * @return + */ + Result KitchenVideoQuery(KitchenVideoQuery query); + + Result delKitchen(String id); + + /** + * 瑙嗛鍟嗗搧鏌ョ湅 + * + * @param videoId + * @return + */ + Result getGoodsDetail(String videoId); } -- Gitblit v1.8.0