cmd统一使用小写

This commit is contained in:
白茶清欢 2025-04-21 17:06:55 +08:00
parent 5d1ebcf505
commit ef3a36f288

View File

@ -75,7 +75,7 @@ func (o *OwnClient) Exec(ctx context.Context, instanceFlag string, command const
) )
cmdParamList := []any{ cmdParamList := []any{
command, strings.ToLower(command.String()), // redis 命令不区分大小写, 统一使用小写
} }
argStrList := make([]string, 0) argStrList := make([]string, 0)
for _, itemArg := range args { for _, itemArg := range args {