puzhibing
2023-07-19 d85000e8f03740bd68523a36e108065a8168bd6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.dsh.activity.service;
 
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>
 * 福利视频 服务类
 * </p>
 *
 * @author jqs
 * @since 2023-07-06
 */
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;
}