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