admin
2019-07-23 009e25b40c04d0a66d6d6554c19e542f0e6f9d18
fanli/src/main/java/com/yeshi/fanli/util/pinduoduo/PinDuoDuoApiUtil.java
@@ -63,9 +63,7 @@
      }
      if (url.endsWith("&"))
         url = url.substring(0, url.length() - 1);
      String result = HttpUtil.post(url);
      return result;
      return HttpUtil.postSimple(url);
   }
   public static PDDGoodsResult searchGoods(PDDSearchFilter sf) {
@@ -98,7 +96,7 @@
      
      Gson gson = new GsonBuilder().disableHtmlEscaping().create();
      List<PDDGoodsDetail> goodsList = gson.fromJson(array.toString(), type);
      int totalCount = json.optInt("total_count");
      int totalCount = root.optInt("total_count");
      return new PDDGoodsResult(totalCount, goodsList);
   }