Paul hace 6 años
padre
commit
3823e763e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      request/request.go

+ 1
- 1
request/request.go Ver fichero

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