
package com.tmerclub.cloud.api.user.feign;

import com.tmerclub.cloud.api.coupon.vo.CouponDataVO;
import com.tmerclub.cloud.common.response.ServerResponseEntity;

import java.util.List;

/**
 * 弹窗广告
 * @author TRACK
 */
public interface PopupFeignClient {

    /**
     * 把下架商品从弹窗广告关联删除
     * @param spuId
     * @param shopId
     * @return
     */
    ServerResponseEntity<Void> deletePopupProd(Long spuId, Long shopId);

    /**
     * 关联页面删除后将弹窗广告失效
     * @param linkId
     * @param shopId
     * @param type
     * @param categoryIds 分类下架用
     * @return
     */
    ServerResponseEntity<Void> deleteLink(Long linkId, Long shopId, String type, List<Long> categoryIds);

    /**
     * 关联页面删除后将弹窗广告失效
     * @param couponList
     * @return
     */
    ServerResponseEntity<Void> deleteLinkBatch(List<CouponDataVO> couponList);

    /**
     * 店铺批量停业
     * @param shopIds
     * @return
     */
    ServerResponseEntity<Void> deleteShopLinkBatch(List<Long> shopIds);

    /**
     * 下架商家
     * @param shopId
     * @return
     */
    ServerResponseEntity<Void> offlineShop(Long shopId);
}
