Browse Source

删除错误代码

chenw 7 years ago
parent
commit
d8b6c4cd39

+ 1 - 1
applications/transfers/transfers-server/src/main/java/com/usoftchina/saas/transfers/utils/SendUtil.java

@@ -28,7 +28,7 @@ public class SendUtil {
      */
      */
     public static boolean sendToB2B(String url, String data, String accessSecretKey) throws Exception {
     public static boolean sendToB2B(String url, String data, String accessSecretKey) throws Exception {
         Map<String, String> params = new HashMap<String, String>();
         Map<String, String> params = new HashMap<String, String>();
-        params.put("data", JsonUtils.toJsonString(data));
+        params.put("data", data);
         LOGGER.info("url={}, accessSecretKey={}", url, accessSecretKey);
         LOGGER.info("url={}, accessSecretKey={}", url, accessSecretKey);
         LOGGER.info("data={}", data);
         LOGGER.info("data={}", data);
         Response response = HttpUtil.sendPostRequest(url, params, true, accessSecretKey);
         Response response = HttpUtil.sendPostRequest(url, params, true, accessSecretKey);