From 27645492ce872dfb76087d11ff827860e1ba18f7 Mon Sep 17 00:00:00 2001 From: duanhf2012 Date: Thu, 2 Jan 2020 16:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E5=85=B6=E4=BB=96method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sysservice/originhttp/httpserverervice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysservice/originhttp/httpserverervice.go b/sysservice/originhttp/httpserverervice.go index 3472465..4b8f035 100644 --- a/sysservice/originhttp/httpserverervice.go +++ b/sysservice/originhttp/httpserverervice.go @@ -168,7 +168,7 @@ func Request(method HTTP_METHOD, url string, handle HttpHandle) error { } else if method == METHOD_POST { strMethod = "POST" } else { - return fmt.Errorf("not support method.") + return nil } postAliasUrl[strMethod][matchURL] = r