From cb38789006b411b29fba27a6a60493dc78946e17 Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期六, 22 六月 2024 09:49:27 +0800 Subject: [PATCH] Merge branch 'master-stander' into master-jiayan --- src/main/java/com/hx/util/HttpMethodUtil.java | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/hx/util/HttpMethodUtil.java b/src/main/java/com/hx/util/HttpMethodUtil.java index efee5fd..8bdd6a3 100644 --- a/src/main/java/com/hx/util/HttpMethodUtil.java +++ b/src/main/java/com/hx/util/HttpMethodUtil.java @@ -78,7 +78,8 @@ return wxMsgXml; } - /** 璇锋眰http鍗忚 鑾峰彇淇℃伅宸ュ叿 + /** + * 璇锋眰http鍗忚 鑾峰彇淇℃伅宸ュ叿 * @param url 璇锋眰閾炬帴 * @param data 璇锋眰鏁版嵁(body) * @param keyValues form琛ㄥ崟鏁版嵁 key鍙傛暟鍚嶇О锛寁alue鍙傛暟鍊� @@ -145,16 +146,6 @@ } } return wxMsgXml; - } - - public static void main(String args[]){ - String url = "https://test6.phiskin.com/phi_appt/fdd/callback/event"; - JSONObject json = new JSONObject(); - json.put("key", "value"); - String data = "bizContent=" + json.toString(); - Map<String, String> header = new HashMap<>(); - header.put("test", "123"); - String repStr = request(url, data, null, header, null, "application/x-www-form-urlencoded"); } } -- Gitblit v1.8.0