Paul 6 years ago
parent
commit
3823e763e4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      request/request.go

+ 1
- 1
request/request.go View File

@@ -12,7 +12,7 @@ type Checker interface {
12 12
 	Check() error
13 13
 }
14 14
 
15
-func ParseSuccess(ctx *gin.Context, r interface{}, fs ...func() error) bool {
15
+func ParseParamSuccess(ctx *gin.Context, r interface{}, fs ...func() error) bool {
16 16
 	if r != nil {
17 17
 		if Fail(ctx, http.StatusBadRequest, ctx.ShouldBind(r)) {
18 18
 			return false