package com.supersavedriving.driver.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.supersavedriving.driver.modular.system.model.Commercial;
|
import com.supersavedriving.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;
|
}
|