修复在WebFlux环境中引入Redis集成包无法启动的问题

This commit is contained in:
shengzhang
2021-04-13 22:43:06 +08:00
parent 740ad2e132
commit a4ae818376
7 changed files with 31 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
<!-- sa-token-spring-boot-starter -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId>
<artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version>
</dependency>
<!-- RedisTemplate 相关操作API -->
@@ -28,6 +28,13 @@
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>2.3.3.RELEASE</version>
</dependency>
<!-- jackson-databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.2</version>
<optional>true</optional>
</dependency>
</dependencies>

View File

@@ -29,7 +29,7 @@ import cn.dev33.satoken.util.SaTokenInsideUtil;
public class SaTokenDaoRedisJackson implements SaTokenDao {
/**
* ObjectMapper对象 (以public作用暴露出此对象,方便开发者二次更改配置)
* ObjectMapper对象 (以public作用暴露出此对象,方便开发者二次更改配置)
*/
public ObjectMapper objectMapper;

View File

@@ -19,7 +19,7 @@
<!-- sa-token-spring-boot-starter -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId>
<artifactId>sa-token-core</artifactId>
<version>${sa-token-version}</version>
</dependency>
<!-- RedisTemplate 相关操作API -->

View File

@@ -44,6 +44,7 @@
- [Session模型详解](/fun/session-model)
- [TokenInfo参数详解](/fun/token-info)
- [框架源码所有技术栈](/fun/tech-stack)
<!-- - [Sa-Token大事记](/fun/timeline) -->

View File

@@ -0,0 +1,14 @@
# Sa-Token 大事记
- **2020-02-04** 在GitHub提交第一个版本正式开源
- **2020-09-14** GitHub star数量破100
- **2020-10-26** Gitee star数量破100
- **2021-03-01** 被[HelloGitHub]第59期收录推荐
- **2021-03-26** GitHub star数量破1k
- **2021-03-30** 受TLog作者邀请sa-token加入dromara社区
- **2021-03-30** 被Gitee官方列为推荐项目
- **2021-03-31** Gitee star数量破1K
- **2021-04-09** GitHub star数量破2K

View File

@@ -134,3 +134,7 @@ body{font-size: 16px; color: #34495E; font-family: "Source Sans Pro","Helvetica
50%{background-position: 100% 50%;}
100%{background-position: 0% 50%;}
} */

View File

@@ -163,6 +163,7 @@
</div>
</div>
<!-- ------------ 使用公司 ------------- -->
<div>
<div class="com-box-f s-width">