diff --git a/docs/uniCloud/redis.md b/docs/uniCloud/redis.md index 3c5b85cdd680b431bccccb25239854a319614f58..812653aed42af67ea5eea10eca45dbec10ee988d 100644 --- a/docs/uniCloud/redis.md +++ b/docs/uniCloud/redis.md @@ -1355,7 +1355,7 @@ await redis.lrem('key', 0, 'a') // 返回 1 **接口形式** ```js -await redis.lrem(key: string, index: number, value: string) +await redis.lset(key: string, index: number, value: string) ``` **入参说明** @@ -1384,7 +1384,7 @@ await redis.lset('key', 0, 'b') // 返回 OK **接口形式** ```js -await redis.lrem(key: string, start: number, end: number) +await redis.ltrim(key: string, start: number, end: number) ``` **入参说明**