From 00b7d994b61531b775646bf8b5633d716f21b778 Mon Sep 17 00:00:00 2001 From: "youhong.ai" Date: Sat, 10 Jun 2023 16:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/aiyh/utils/httpUtil/util/HttpUtils.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/aiyh/utils/httpUtil/util/HttpUtils.java b/src/main/java/aiyh/utils/httpUtil/util/HttpUtils.java index f728648..bc39ea2 100644 --- a/src/main/java/aiyh/utils/httpUtil/util/HttpUtils.java +++ b/src/main/java/aiyh/utils/httpUtil/util/HttpUtils.java @@ -323,6 +323,16 @@ public class HttpUtils { return baseRequest(httpConnection, httpGet); } + /** + *

删除方法调用

+ * + * @param url 地址 + * @param params 参数 + * @param headers 请求头 + * @return 请求结果 + * @throws IOException 异常 + */ + public ResponeVo apiDelete(String url, Map params, Map headers) throws IOException { Map paramsMap = paramsHandle(params); String getUrl = urlHandle(url, paramsMap);