From c80236b3a2fbaf443f9fcd3aa61eaa5dd9da4eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 3 Jul 2022 00:57:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E6=9E=90=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- request/form.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/request/form.go b/request/form.go index 630b3dc..0af5690 100644 --- a/request/form.go +++ b/request/form.go @@ -23,12 +23,12 @@ import ( type form struct { } -// ParseRequestForm 解析请求表单 +// Parse 解析请求表单 // // Author : go_developer@163.com<白茶清欢> // // Date : 00:34 2022/7/3 -func (f *form) ParseRequestForm(ctx *gin.Context, receiver interface{}) error { +func (f *form) Parse(ctx *gin.Context, receiver interface{}) error { method := strings.ToUpper(ctx.Request.Method) if method == http.MethodGet || method == http.MethodPatch ||