| | |
| | | import com.yeshi.fanli.entity.bus.share.UserShareGoodsHistory;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoLink;
|
| | | import com.yeshi.fanli.exception.ShareGoodsException;
|
| | | import com.yeshi.fanli.entity.taobao.TaoKeAppInfo;
|
| | | import com.yeshi.fanli.exception.share.ShareGoodsException;
|
| | | import com.yeshi.fanli.exception.tlj.TaoLiJinCreateException;
|
| | |
|
| | | public interface ShareGoodsService {
|
| | |
|
| | |
| | | public UserShareGoodsHistory getShareGoodsHistoryDetail(Long uid, Long auctionId) throws ShareGoodsException;
|
| | |
|
| | | /**
|
| | | * 获取分享记录
|
| | | * |
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @return
|
| | | */
|
| | | public UserShareGoodsHistory getShareGoodsHistory(Long uid, Long auctionId);
|
| | |
|
| | | /**
|
| | | * 获取商品的分享转链链接
|
| | | *
|
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @param relationId -渠道ID
|
| | | * @param relationId
|
| | | * -渠道ID
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | |
|
| | | public TaoBaoLink getTaoBaoLinkForShare(Long uid, Long auctionId,String relationId) throws ShareGoodsException;
|
| | | public TaoBaoLink getTaoBaoLinkForShare(Long uid, Long auctionId, String relationId) throws ShareGoodsException;
|
| | | |
| | | /**
|
| | | * 获取商品的分享转链链接
|
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @param relationId
|
| | | * @param pid
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | | public TaoBaoLink getTaoBaoLinkForShare(Long uid, Long auctionId, String relationId,String pid) throws ShareGoodsException;
|
| | |
|
| | | /**
|
| | | * 获取商品的购买转链链接
|
| | |
| | | */
|
| | | public TaoBaoLink getTaoBaoLinkForBuyWithSpecial(Long uid, String specialId, Long auctionId)
|
| | | throws ShareGoodsException;
|
| | | |
| | |
|
| | | /**
|
| | | * 通过PID设置链接
|
| | | * |
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @param pid
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | | public TaoBaoLink getTaoBaoLink(Long uid, Long auctionId, String pid) throws ShareGoodsException ;
|
| | | public TaoBaoLink getTaoBaoLink(Long uid, Long auctionId, String pid) throws ShareGoodsException;
|
| | |
|
| | | /**
|
| | | * 淘礼金领取链接
|
| | | * @param uid
|
| | | * @param specialId
|
| | | * @param auctionId
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | | public TaoBaoLink getTaoLiJinLinkForBuy(Long uid, String specialId, Long auctionId,String pid) throws ShareGoodsException;
|
| | |
|
| | | /**
|
| | | * 淘礼金 链接
|
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @param relationId
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | | public TaoBaoLink getTaoLiJinLinkForShare(Long uid, Long auctionId, String relationId) throws ShareGoodsException;
|
| | | |
| | | |
| | | |
| | | /**
|
| | | * |
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @return
|
| | | * @throws ShareGoodsException
|
| | | */
|
| | | public TaoBaoLink getTaoLiJinLinkForBuyWithOutFanLi(Long uid, Long auctionId,TaoKeAppInfo app) throws ShareGoodsException,TaoLiJinCreateException;
|
| | |
|
| | | }
|