From 42411e4a26461229c6bca6e89ca55e98a80f5a4e Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 30 九月 2021 18:08:17 +0800
Subject: [PATCH] bug修改

---
 fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
index 040ea66..bfb28d6 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
@@ -13,7 +13,6 @@
 import java.util.List;
 import java.util.Map;
 
-import com.sun.istack.NotNull;
 import org.apache.commons.httpclient.HttpClient;
 import org.apache.commons.httpclient.methods.PostMethod;
 
@@ -46,9 +45,9 @@
     public static String SECRET_KEY = "e22367fc866746d98b50d47b4c521781";
     private static String SERVER_URL = "https://router.jd.com/api";
 
-    public static long POSITION_FANLI = 1869704794L;
-    public static long POSITION_SHARE = 1869542990L;
-    public static long POSITION_COUPON = 1869704796L;
+//    public static long POSITION_FANLI = 1869704794L;
+//    public static long POSITION_SHARE = 1869542990L;
+//    public static long POSITION_COUPON = 1869704796L;
 
     // 璁㈠崟鏌ヨ绫诲瀷
     public static int ORDER_TYPE_CREATETIME = 1;// 涓嬪崟鏃堕棿
@@ -146,7 +145,7 @@
         return resultJson.optJSONObject("data").optString("clickURL");
     }
 
-    public static String convertLinkWithSubUnionId(@NotNull String materialId, String couponUrl, String giftCouponKey, @NotNull String positionId,
+    public static String convertLinkWithSubUnionId(String materialId, String couponUrl, String giftCouponKey,  String positionId,
                                                    String subUnionId) {
         String log = "浜笢杞摼鍑洪敊:";
         try {
@@ -493,6 +492,7 @@
         JSONObject json = new JSONObject();
         json.put("skuIds", StringUtil.concat(skuIdList, ","));
         String result = baseRequest2("jd.union.open.goods.promotiongoodsinfo.query", null, json);
+        System.out.println(result);
         JSONObject resultJson = JSONObject.fromObject(result);
         resultJson = resultJson.optJSONObject("jd_union_open_goods_promotiongoodsinfo_query_response");
         if (resultJson.optInt("code") == 0) {

--
Gitblit v1.8.0