From 58330904e0e1ca0a68bb87adbd76204bbbaf57d7 Mon Sep 17 00:00:00 2001
From: click33 <2393584716@qq.com>
Date: Thu, 16 Jan 2025 21:51:06 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E6=95=B4=E7=90=86=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sa-token-doc/_sidebar.md | 1 -
sa-token-doc/plugin/dao-extend.md | 4 +++-
sa-token-doc/up/integ-redis.md | 8 ++++++--
sa-token-doc/up/integ-spring-mongod.md | 4 ++--
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/sa-token-doc/_sidebar.md b/sa-token-doc/_sidebar.md
index c5b3c18d..3970e111 100644
--- a/sa-token-doc/_sidebar.md
+++ b/sa-token-doc/_sidebar.md
@@ -19,7 +19,6 @@
- **深入**
- [集成 Redis](/up/integ-redis)
- - [集成 Spring MongodDB](/up/integ-spring-mongod)
- [前后端分离](/up/not-cookie)
- [自定义 Token 风格](/up/token-style)
- [自定义 Token 前缀](/up/token-prefix)
diff --git a/sa-token-doc/plugin/dao-extend.md b/sa-token-doc/plugin/dao-extend.md
index 04b0eca4..96373f58 100644
--- a/sa-token-doc/plugin/dao-extend.md
+++ b/sa-token-doc/plugin/dao-extend.md
@@ -19,7 +19,9 @@
有关 Redis 集成,详细参考:[集成Redis](/up/integ-redis),更多存储方式欢迎提交PR
-
+**扩展:**
+
+由 `@lilihao` 提供的 MongoDB 集成示例,参考:[集成 Spring MongodDB](/up/integ-spring-mongod)
diff --git a/sa-token-doc/up/integ-redis.md b/sa-token-doc/up/integ-redis.md
index fdaaf712..037b0691 100644
--- a/sa-token-doc/up/integ-redis.md
+++ b/sa-token-doc/up/integ-redis.md
@@ -145,7 +145,11 @@ spring.redis.lettuce.pool.min-idle=0
Sa-Token-Redis 集成包的版本尽量与 Sa-Token-Starter 集成包的版本一致,否则可能出现兼容性问题。
-
-更多框架的集成方案正在更新中...
+
+### 扩展:集成 MongoDB
+
+由 `@lilihao` 提供的 MongoDB 集成示例,参考:[集成 Spring MongodDB](/up/integ-spring-mongod)
+
diff --git a/sa-token-doc/up/integ-spring-mongod.md b/sa-token-doc/up/integ-spring-mongod.md
index 4c058c4d..43f39f15 100644
--- a/sa-token-doc/up/integ-spring-mongod.md
+++ b/sa-token-doc/up/integ-spring-mongod.md
@@ -1,9 +1,9 @@
# Sa-Token 集成 MongoDB
---
-官方已经有了[集成 Redis](/up/integ-redis)的教程,此章介绍如何通过扩展`SaTokenDao`接口来实现MongodDB的集成。
+此章介绍如何通过扩展 `SaTokenDao` 接口来实现 MongodDB 的集成。
-[示例代码sa-token-mongodb-demo](https://gitee.com/lilihao/sa-token-mongodb-demo)
+[示例代码:sa-token-mongodb-demo](https://gitee.com/lilihao/sa-token-mongodb-demo)
先决条件:
1. Spring Boot 3