| | |
| | | package com.yeshi.fanli.service.inter.vipshop;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.dto.jd.JDSearchResult;
|
| | | import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
|
| | | import com.yeshi.fanli.entity.jd.JDGoods;
|
| | | import com.yeshi.fanli.exception.jd.JDGoodsException;
|
| | |
|
| | | public interface JDGoodsService {
|
| | |
|
| | | /**
|
| | | * 专题分类
|
| | | * @return
|
| | | */
|
| | | public List<GoodsClass> getSpecialClass();
|
| | |
|
| | | |
| | | /**
|
| | | * 专题商品搜索
|
| | | * @param page
|
| | | * @param cid
|
| | | * @return
|
| | | * @throws JDGoodsException
|
| | | */
|
| | | public List<JDGoods> specialSearch(Integer page, Long cid) throws JDGoodsException;
|
| | |
|
| | |
|
| | | /**
|
| | | * 首页底部商品搜索
|
| | | * @param page
|
| | | * @return
|
| | | */
|
| | | public JDSearchResult getIndexJDGoods(int page);
|
| | |
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.inter.vipshop; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.dto.jd.JDSearchResult; |
| | | import com.yeshi.fanli.entity.bus.clazz.GoodsClass; |
| | | import com.yeshi.fanli.entity.jd.JDGoods; |
| | | import com.yeshi.fanli.exception.jd.JDGoodsException; |
| | | |
| | | public interface JDGoodsService { |
| | | |
| | | /** |
| | | * 专题分类 |
| | | * @return |
| | | */ |
| | | public List<GoodsClass> getSpecialClass(); |
| | | |
| | | |
| | | /** |
| | | * 专题商品搜索 |
| | | * @param page |
| | | * @param cid |
| | | * @return |
| | | * @throws JDGoodsException |
| | | */ |
| | | public List<JDGoods> specialSearch(Integer page, Long cid) throws JDGoodsException; |
| | | |
| | | |
| | | /** |
| | | * 首页底部商品搜索 |
| | | * @param page |
| | | * @return |
| | | */ |
| | | public JDSearchResult getIndexJDGoods(int page); |
| | | |
| | | |
| | | } |