| | |
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | import com.yeshi.fanli.entity.brand.BrandClassShop;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoShop;
|
| | | import com.yeshi.fanli.exception.brand.BrandClassShopException;
|
| | | import com.yeshi.fanli.vo.brand.TaoBaoShopVO;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | |
| | | */
|
| | | public interface BrandClassShopService {
|
| | |
|
| | | /**
|
| | | * 查询有效分类
|
| | | * |
| | | * @return
|
| | | */
|
| | | public List<BrandClassShop> listEffective(long start, int count, Long cid);
|
| | |
|
| | | public long countEffective(Long cid);
|
| | |
|
| | | /**
|
| | | * 是否存在
|
| | |
| | | * @param state
|
| | | * @throws BrandClassShopException
|
| | | */
|
| | | public void changeShopInfo(MultipartFile file, Long id, Long cid, String shopName, Integer state, Integer top)
|
| | | public void changeShopInfo(MultipartFile file, Long id, Long cid, String shopName, Integer state, Integer top,String key)
|
| | | throws BrandClassShopException;
|
| | |
|
| | |
|
| | |
| | | * @param shopId
|
| | | */
|
| | | public void addClick(Long shopId);
|
| | |
|
| | | /**
|
| | | * 根据分类id进行删除
|
| | | * @param list
|
| | | */
|
| | | public void deleteBatchByClassId(List<Long> list);
|
| | | |
| | | |
| | | /**
|
| | | * 更新品牌商品
|
| | | */
|
| | | public void updateShopGoods();
|
| | |
|
| | | /**
|
| | | * 店铺列表
|
| | | * @param page
|
| | | * @param cid
|
| | | * @return
|
| | | */
|
| | | public JSONObject listEffectiveCacheV2(int page, Long cid,String platform,String version);
|
| | |
|
| | | |
| | | /**
|
| | | * 兼容2.0
|
| | | * @param start
|
| | | * @param count
|
| | | * @param cid
|
| | | * @return
|
| | | */
|
| | | public List<TaoBaoShopVO> listEffectiveShop(long start, int count, Long cid,String platform,String version);
|
| | |
|
| | | |
| | | |
| | | public long countBrandShopinfo(Long cid);
|
| | |
|
| | | |
| | | /**
|
| | | * 分类下店铺
|
| | | * @param cid
|
| | | * @return
|
| | | */
|
| | | public List<TaoBaoShop> listEffectiveClassShop(Long cid);
|
| | |
|
| | | }
|