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 ||