admin
2019-08-26 5a80c35e42ba1ed7340097ea9b156016e52a23f2
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/GoodsController.java
@@ -23,6 +23,7 @@
import com.yeshi.fanli.entity.taobao.TaoKeAppInfo;
import com.yeshi.fanli.exception.ShareGoodsException;
import com.yeshi.fanli.exception.taobao.TaobaoGoodsDownException;
import com.yeshi.fanli.exception.tlj.TaoLiJinCreateException;
import com.yeshi.fanli.log.LogHelper;
import com.yeshi.fanli.service.inter.goods.ShareGoodsService;
import com.yeshi.fanli.service.inter.goods.recommend.RecommendGoodsDeleteHistoryService;
@@ -87,7 +88,7 @@
   private void doTaoLiJinBuy(Long uid, Long auctionId, PrintWriter out) {
      JSONObject data = new JSONObject();
      TaoBaoLink taoBaoLink;
      TaoBaoLink taoBaoLink = null;
      try {
         // 根据日期与商品ID查询
         TLJBuyGoods tljBuyGoods = tljBuyGoodsService.selectByAuctionIdAndDay(auctionId,
@@ -100,6 +101,9 @@
         }
         TaoKeAppInfo app = new TaoKeAppInfo(config.getAppKey(), config.getAppSecret(), config.getDefaultPid());
         taoBaoLink = shareGoodsService.getTaoLiJinLinkForBuyWithOutFanLi(uid, auctionId, app);
      } catch (TaoLiJinCreateException e1) {
         out.print(JsonUtil.loadFalseResult(e1.getCode(), "淘礼金红包创建失败"));
         return;
      } catch (ShareGoodsException e) {
         out.print(JsonUtil.loadFalseResult(e.getCode(), e.getMessage()));
         return;