package com.yeshi.fanli.service.inter.pdd;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.dto.pdd.PDDGoodsDetail;
|
import com.yeshi.fanli.dto.pdd.PDDGoodsResult;
|
import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
|
import com.yeshi.fanli.exception.pdd.PDDOrderException;
|
|
/**
|
* 拼多多商品服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface PDDGoodsService {
|
|
/**
|
* 获取商品详情图片列表
|
*
|
* @param id
|
* @return
|
*/
|
public List<String> getDetailImageList(Long id);
|
|
/**
|
* 专题分类
|
* @return
|
*/
|
public List<GoodsClass> getSpecialClass();
|
|
/**
|
* 分类商品
|
* @param page
|
* @param cid
|
* @return
|
* @throws PDDOrderException
|
*/
|
public List<PDDGoodsDetail> specialSearch(Integer page, Long cid) throws PDDOrderException;
|
|
/**
|
* 爆款排行商品接口
|
* @param page
|
* @param sortType 1-实时热销榜;2-实时收益榜
|
* @return
|
*/
|
public PDDGoodsResult getTopGoodsList(int page, Integer sortType);
|
|
/**
|
* 今日热销
|
* @return
|
*/
|
public PDDGoodsResult getTodaySaleGoodsList();
|
|
}
|