From 13a69ca416427eb21a526c645e51812e1f5d0f2f Mon Sep 17 00:00:00 2001
From: qirong <2032486488@qq.com>
Date: 星期一, 04 十二月 2023 10:34:13 +0800
Subject: [PATCH] 文件名称带中文
---
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/uitil/HttpUtils.java | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/uitil/HttpUtils.java b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/uitil/HttpUtils.java
index 78e5ad3..cb464c1 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/uitil/HttpUtils.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/uitil/HttpUtils.java
@@ -151,31 +151,6 @@
// * @param parameter
* @throws Exception
*/
-// public static void sendDeleteRequest(String url, String parameter) throws Exception {
-// // 鎷兼帴URL鍜屽弬鏁�
-// String deleteUrl = url + "/" + parameter;
-//
-// // 鍒涘缓URL瀵硅薄鍜孒ttpURLConnection瀵硅薄
-// URL obj = new URL(deleteUrl);
-// HttpURLConnection con = (HttpURLConnection) obj.openConnection();
-//
-// // 璁剧疆璇锋眰鏂规硶涓篋ELETE
-// con.setRequestMethod("DELETE");
-//
-// // 鍙戦�佽姹傚苟鑾峰彇鍝嶅簲
-// int responseCode = con.getResponseCode();
-// BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
-// String inputLine;
-// StringBuffer response = new StringBuffer();
-// while ((inputLine = in.readLine()) != null) {
-// response.append(inputLine);
-// }
-// in.close();
-//
-// // 鎵撳嵃鍝嶅簲缁撴灉
-// System.out.println("Response Code : " + responseCode);
-// System.out.println("Response : " + response.toString());
-// }
public static String sendDeleteRequest(String url, String ossId) throws IOException {
org.apache.http.client.HttpClient httpClient = HttpClientBuilder.create().build();
HttpPost httpPost = new HttpPost(url);
--
Gitblit v1.8.0