From df40a6e3f5752927177b8ea998325c8619561066 Mon Sep 17 00:00:00 2001 From: zhuyongxin Date: Tue, 23 Jun 2026 17:25:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20logback=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E7=9A=84=E5=8C=85=E5=90=8D=20(org.example=20?= =?UTF-8?q?=E2=86=92=20com.superbiz.agent)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback-spring.xml | 2 +- test-doc-api.md | 34 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 test-doc-api.md diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 5f0c26b..91ed89e 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -96,7 +96,7 @@ - + diff --git a/test-doc-api.md b/test-doc-api.md new file mode 100644 index 0000000..ec0c010 --- /dev/null +++ b/test-doc-api.md @@ -0,0 +1,34 @@ +# Redis API 接口文档 + +## 概述 +Redis 是一个高性能的键值存储系统,支持多种数据结构。 + +## 连接配置 +- Host: localhost +- Port: 6379 +- Password: 可选 + +## 常见问题 + +### 连接超时 +如果遇到 Redis 连接超时问题,请检查: +1. 网络连通性 +2. Redis 服务是否启动 +3. 防火墙配置 + +### 性能优化 +- 使用连接池 +- 合理设置超时时间 +- 避免大 key + +## API 示例 +```java +// 连接 Redis +RedisClient client = new RedisClient("localhost", 6379); + +// 设置值 +client.set("key", "value"); + +// 获取值 +String value = client.get("key"); +```