1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.agentdriving.driver.modular.system.service;
 
import com.agentdriving.driver.modular.system.model.Commercial;
import com.baomidou.mybatisplus.service.IService;
import com.agentdriving.driver.modular.system.warpper.CommercialWarpper;
 
import java.util.List;
 
/**
 * 广告接口
 */
public interface ICommercialService extends IService<Commercial> {
 
 
    /**
     * 获取广告列表数据
     * @param type      广告类型(1=弹窗广告)
     * @param device    设备(1=小程序,2=司机端)
     * @return
     * @throws Exception
     */
    List<CommercialWarpper> queryCommercialList(Integer uid, Integer type, Integer device) throws Exception;
}