fix: Hdel check result & Pfadd check result (#1801)

This commit is contained in:
杨圆建
2022-04-18 17:38:36 +08:00
committed by GitHub
parent 036d803fbb
commit d58cf7a12a

View File

@@ -681,7 +681,7 @@ func (s *Redis) HdelCtx(ctx context.Context, key string, fields ...string) (val
return err
}
val = v == 1
val = v >= 1
return nil
}, acceptable)
@@ -1219,7 +1219,7 @@ func (s *Redis) PfaddCtx(ctx context.Context, key string, values ...interface{})
return err
}
val = v == 1
val = v >= 1
return nil
}, acceptable)