admin
2020-04-09 aa774af6df16ef11e1e34ac5aeed9aae0cb3e8e2
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/GoodsControllerV2.java
@@ -199,7 +199,7 @@
   @Resource
   private UserVipConfigService userVipConfigService;
   @Resource
   private GoodsEvaluateService goodsEvaluateService;
@@ -265,6 +265,7 @@
               app.setPid(TaoBaoConstant.TAOBAO_COMMON_PID);
               app.setAdzoneId(TaoBaoConstant.TAOBAO_COMMON_PID.split("_")[3]);
               goods = TaoKeApiUtil.searchGoodsDetail(id, app);
               final TaoBaoGoodsBrief finalGoods = goods;
               if (goods != null) {
                  ThreadUtil.run(new Runnable() {
@@ -371,7 +372,11 @@
      // 大淘客商品过滤
      try {
         goods = daTaoKeGoodsDetailV2Service.filterTaoBaoGoods(goods);
         goods = daTaoKeGoodsDetailV2Service.filterTaoBaoGoods(goods, acceptData.getPlatform(),
               acceptData.getVersion());
//         goods = daTaoKeGoodsDetailV2Service.filterTaoBaoGoods(goods);
      } catch (Exception e) {
         LogHelper.errorDetailInfo(e);
      }
@@ -613,7 +618,7 @@
    */
   @RequestMapping(value = "getDetailJD")
   public void getDetialJD(AcceptData acceptData, Long id, Long uid, String from, PrintWriter out) {
//      uid=2255993L;
      // uid=2255993L;
      // 系统验证
      BusinessSystem system = businessSystemService.getBusinessSystemCache(acceptData.getPlatform(),
            acceptData.getPackages());
@@ -809,7 +814,7 @@
      out.print(JsonUtil.loadTrueResult(object.toString()));
      final JDGoods goods = jdGoods;
      final Long fuid=uid;
      final Long fuid = uid;
      ThreadUtil.run(new Runnable() {
         public void run() {
            // 添加浏览记录
@@ -818,7 +823,7 @@
            } catch (Exception e) {
               e.printStackTrace();
            }
            try {
               goodsEvaluateService.updateJDGoods(goods);
            } catch (Exception e) {
@@ -1002,7 +1007,7 @@
            } catch (Exception e) {
               e.printStackTrace();
            }
            try {
               goodsEvaluateService.updatePDDGoods(pddGoods);
            } catch (Exception e) {
@@ -1220,6 +1225,10 @@
         }
         jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl, JDApiUtil.POSITION_FANLI + "",
               uid + "");
         if (jumpLink == null) {
            jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, null, JDApiUtil.POSITION_FANLI + "",
                  uid + "");
         }
      } else {
         jumpLink = JDApiUtil.convertLinkWithSubUnionId(materialId, couponUrl, JDApiUtil.POSITION_FANLI + "",
               uid + "");