yujian
2019-08-01 695c32b9958ab902b697dcdb88f71683b9c2c3d6
fanli/src/main/java/com/yeshi/fanli/util/jd/JDApiUtil.java
@@ -645,18 +645,12 @@
      json.put("orderReq", orderReq);
      String result = baseRequest2("jd.union.open.order.query", null, json);
      try {
         System.out.println(new String(result.getBytes("GBK"), "UTF-8"));
         System.out.println(new String(result.getBytes("ISO-8859-1"), "UTF-8"));
      } catch (UnsupportedEncodingException e) {
         e.printStackTrace();
      }
      JSONObject root = JSONObject.fromObject(result).optJSONObject("jd_union_open_order_query_response");
      if (root.optInt("code") == 0) {
         boolean hasMore = root.optBoolean("hasMore");
         root = JSONObject.fromObject(root.optString("result"));
         if (root.optInt("code") == 200) {
         if (root.optInt("code") == 200&&root.optJSONArray("data")!=null) {
            String date = root.optJSONArray("data").toString();
            Type typeToken = new TypeToken<List<JDOrder>>() {
            }.getType();