admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
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();
 
}