修复get请求参数解析

This commit is contained in:
白茶清欢 2022-07-17 22:35:24 +08:00
parent 8da2c61aa8
commit 6d2ea0ce59
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func (f *form) Parse(ctx *gin.Context, receiver interface{}) error {
method == http.MethodTrace || method == http.MethodTrace ||
method == http.MethodConnect || method == http.MethodConnect ||
method == http.MethodOptions { method == http.MethodOptions {
return ctx.ShouldBindQuery(receiver) return ctx.ShouldBind(receiver)
} }
if method == http.MethodPost || if method == http.MethodPost ||