Kaynağa Gözat

修复缺陷

lyq 1 ay önce
ebeveyn
işleme
5ac35f96ee

+ 1 - 14
src/main/java/com/sooka/sponest/event/utils/GWHttpUtilsTest65.java

@@ -89,12 +89,9 @@ public class GWHttpUtilsTest65 {
 
 
     public static String encrypt(String path, String orderCode) {
-//        log.info("******* ENCRYPT  START *******");
-//        log.info("=========path=====:" + path);
         // 请求参数
-        String[] files = path.split(",");
         JSONObject json = new JSONObject();
-        json.put("fileUrls", files);
+        json.put("fileUrls", path.split(","));
         return callServer(json.toJSONString(), orderCode);
     }
 
@@ -123,16 +120,6 @@ public class GWHttpUtilsTest65 {
         headerMap.put("X-UserCode", userCode);
         headerMap.put("X-AppCode", appCode);
         headerMap.put("X-OrderCode", orderCode);
-//        log.info("=========AppKey=====:" + AK);
-//        log.info("=========Signature=====:" + sign);
-//        log.info("=========MsgId=====:" + msgId);
-//        log.info("=========RequestTime=====:" + requestTime);
-//        log.info("=========CustomerCode=====:" + customer);
-//        log.info("=========UserCode=====:" + userCode);
-//        log.info("=========AppCode=====:" + appCode);
-//        log.info("=========OrderCode=====:" + orderCode);
-//        log.info("=========params=====:" + json);
-//        log.info("******* ENCRYPT  END *******");
         HttpResponse response = postObject(url, json, headerMap);
         JSONObject jsonObject = JSONObject.parseObject(response.body());
         return jsonObject.getJSONArray("data").getJSONObject(0).getString("encryptUrl");