From 39518349b9b4b2e2fd0bf153623c8d88301c539e Mon Sep 17 00:00:00 2001
From: lisy <linlangsur163@163.com>
Date: 星期四, 03 八月 2023 21:35:53 +0800
Subject: [PATCH] 修复了开始上课的冗余勋章列表查询bug
---
cloud-server-activity/src/main/java/com/dsh/activity/service/BenefitsVideosService.java | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/service/BenefitsVideosService.java b/cloud-server-activity/src/main/java/com/dsh/activity/service/BenefitsVideosService.java
index 4727bae..6423f50 100644
--- a/cloud-server-activity/src/main/java/com/dsh/activity/service/BenefitsVideosService.java
+++ b/cloud-server-activity/src/main/java/com/dsh/activity/service/BenefitsVideosService.java
@@ -2,6 +2,11 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.activity.entity.BenefitsVideos;
+import com.dsh.activity.model.BenefitsVideoClassificationListVo;
+import com.dsh.activity.model.BenefitsVideosInfoVo;
+import com.dsh.activity.model.BenefitsVideosListVo;
+
+import java.util.List;
/**
* <p>
@@ -13,4 +18,43 @@
*/
public interface BenefitsVideosService extends IService<BenefitsVideos> {
+
+ /**
+ * 获取福利视频分类列表数据
+ * @param uid
+ * @param search
+ * @return
+ * @throws Exception
+ */
+ List<BenefitsVideoClassificationListVo> queryClassificationBenefitsVideosList(Integer uid, Integer position, String search) throws Exception;
+
+
+ /**
+ * 获取福利视频列表
+ * @param uid
+ * @param classificationId
+ * @param pageSize
+ * @param pageNo
+ * @return
+ * @throws Exception
+ */
+ List<BenefitsVideosListVo> queryBenefitsVideosList(Integer uid, Integer classificationId, String search, Integer pageSize, Integer pageNo) throws Exception;
+
+
+ /**
+ * 获取福利视频详情
+ * @param uid
+ * @param id
+ * @return
+ * @throws Exception
+ */
+ BenefitsVideosInfoVo queryBenefitsVideosInfo(Integer uid, Integer id) throws Exception;
+
+
+ /**
+ * 视频观看完毕后获得奖励
+ * @param id
+ * @throws Exception
+ */
+ void receiveAward(Integer uid, Integer id) throws Exception;
}
--
Gitblit v1.7.1