From b3bdc131a50234de457d1a7515758b2a169ba038 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期五, 13 六月 2025 11:08:08 +0800 Subject: [PATCH] insert insert 完成大健康后台页面接口(增删改查/上架/下架) --- framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 51 insertions(+), 5 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 0acc5ad..8e600ac 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,9 +1,9 @@ package cn.lili.modules.lmk.service; -import cn.lili.base.AbsQuery; 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.HealthVideoQuery; import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; import com.baomidou.mybatisplus.extension.service.IService; @@ -24,14 +24,14 @@ * @param form * @return */ - Result add(VideoForm form); + Result add(WxVideoForm form); /** * 淇敼 * @param form * @return */ - Result update(VideoForm form); + Result update(WxVideoForm form); /** * 鎵归噺鍒犻櫎 @@ -73,7 +73,7 @@ * @param form * @return */ - Result publish(VideoForm form); + Result publish(WxVideoForm form); /** * 骞冲彴绔棰戝垎椤� @@ -119,8 +119,9 @@ * 灏忕▼搴忕鐨勮棰戞帹鑽愭帴鍙� * * @return + * @param query */ - Result recommendVideo(AbsQuery query); + Result recommendVideo(VideoQuery query); /** * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺 @@ -167,4 +168,49 @@ * @return */ Result getAuthorCollectVideoPage(AuthorVideoQuery query); + + /** + * 淇濆瓨瑙嗛涓婚〉鐨勪釜浜轰俊鎭慨鏀� + * + * @param form + * @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); } -- Gitblit v1.8.0