From 573c491b4a1ba60e12a5678a01c1546c0077c1ee Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 30 七月 2019 09:07:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsService.java | 80 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 78 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsService.java index d63fe70..58fc560 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsService.java @@ -45,15 +45,37 @@ 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 + * @return * @throws ShareGoodsException */ - public TaoBaoLink getTaoBaoLinkForShare(Long uid, Long auctionId) 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; /** * 鑾峰彇鍟嗗搧鐨勮喘涔拌浆閾鹃摼鎺� @@ -65,4 +87,58 @@ */ public TaoBaoLink getTaoBaoLinkForBuy(Long uid, Long auctionId, int pidType) throws ShareGoodsException; + /** + * 鐢ㄤ細鍛樿繍钀D鑾峰彇鍟嗗搧鐨勫垎浜浆閾鹃摼鎺� + * + * @param uid + * @param auctionId + * @param pidType + * @return + * @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; + + /** + * 娣樼ぜ閲戦鍙栭摼鎺� + * @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) throws ShareGoodsException; + } -- Gitblit v1.8.0