admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java
@@ -5,7 +5,9 @@
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;
@@ -17,14 +19,6 @@
 */
public interface BrandClassShopService {
   /**
    * 查询有效分类
    *
    * @return
    */
   public List<BrandClassShop> listEffective(long start, int count, Long cid);
   public long countEffective(Long cid);
   /**
    * 是否存在
@@ -63,7 +57,7 @@
    * @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;
   
   
@@ -92,5 +86,47 @@
    * @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);
   
}