修复get请求参数解析
This commit is contained in:
parent
8da2c61aa8
commit
6d2ea0ce59
@ -44,7 +44,7 @@ func (f *form) Parse(ctx *gin.Context, receiver interface{}) error {
|
||||
method == http.MethodTrace ||
|
||||
method == http.MethodConnect ||
|
||||
method == http.MethodOptions {
|
||||
return ctx.ShouldBindQuery(receiver)
|
||||
return ctx.ShouldBind(receiver)
|
||||
}
|
||||
|
||||
if method == http.MethodPost ||
|
||||
|
Loading…
Reference in New Issue
Block a user