From 49609c0b65b8274cc711f8280ae973d05cb64663 Mon Sep 17 00:00:00 2001 From: mxd <838425805@qq.com> Date: Mon, 19 Apr 2021 20:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/ssssssss/magicapi/modules/HttpModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/ssssssss/magicapi/modules/HttpModule.java b/src/main/java/org/ssssssss/magicapi/modules/HttpModule.java index 9d9c77a5..33c26bd7 100644 --- a/src/main/java/org/ssssssss/magicapi/modules/HttpModule.java +++ b/src/main/java/org/ssssssss/magicapi/modules/HttpModule.java @@ -30,7 +30,6 @@ public class HttpModule implements MagicModule { private HttpMethod method = HttpMethod.GET; private HttpEntity entity = null; private Object requestBody; - private ResponseEntity responseEntity; public HttpModule(RestTemplate template) { this.template = template; @@ -47,7 +46,7 @@ public String getModuleName() { } @Comment("创建连接") - public HttpModule connection(@Comment("目标URL") String url) { + public HttpModule connect(@Comment("目标URL") String url) { return new HttpModule(template, url); }