From ef3a36f2889af87e3c3747f7bc6f78ff24ce5751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 21 Apr 2025 17:06:55 +0800 Subject: [PATCH] =?UTF-8?q?cmd=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 0af0643..e8b6508 100644 --- a/client.go +++ b/client.go @@ -75,7 +75,7 @@ func (o *OwnClient) Exec(ctx context.Context, instanceFlag string, command const ) cmdParamList := []any{ - command, + strings.ToLower(command.String()), // redis 命令不区分大小写, 统一使用小写 } argStrList := make([]string, 0) for _, itemArg := range args {