From 8e4f44a670356c794464ee70ffb42943b058b21c Mon Sep 17 00:00:00 2001
From: Jie Zheng <201507802@qq.com>
Date: Tue, 21 Jan 2025 16:31:25 +0800
Subject: [PATCH 1/3] =?UTF-8?q?style:=20=F0=9F=93=9A=EF=B8=8F=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0Spring=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB=E6=8E=A7?=
=?UTF-8?q?=E5=88=B6=E4=B8=BAwarn?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
eladmin-system/src/main/resources/logback.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eladmin-system/src/main/resources/logback.xml b/eladmin-system/src/main/resources/logback.xml
index f991c414..6ed7c43d 100644
--- a/eladmin-system/src/main/resources/logback.xml
+++ b/eladmin-system/src/main/resources/logback.xml
@@ -17,6 +17,9 @@
+
+
+
From f9799cdfb3776b9cc1b5712b6a56ef94f25a4a6b Mon Sep 17 00:00:00 2001
From: Jie Zheng <201507802@qq.com>
Date: Tue, 21 Jan 2025 16:35:40 +0800
Subject: [PATCH 2/3] =?UTF-8?q?style:=20=F0=9F=93=9A=EF=B8=8F=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0=20README.md?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 066e050b..f9684227 100644
--- a/README.md
+++ b/README.md
@@ -82,15 +82,29 @@
- annotation 为系统自定义注解
- aspect 自定义注解的切面
- base 提供了Entity、DTO基类和mapstruct的通用mapper
- - config 自定义权限实现、redis配置、swagger配置、Rsa配置等
+ - config 项目通用配置
+ - Web配置跨域与静态资源映射、Swagger配置,文件上传临时路径配置
+ - Redis配置,Redission配置, 异步线程池配置
+ - 权限拦截配置、AuthorityConfig、Druid 删除广告配置
- exception 项目统一异常的处理
- - utils 系统通用工具类
+ - utils 系统通用工具类,列举一些常用的工具类
+ - BigDecimaUtils 金额计算工具类
+ - RequestHolder 请求工具类
+ - SecurityUtils 安全工具类
+ - StringUtils 字符串工具类
+ - SpringBeanHolder Spring Bean工具类
+ - RedisUtils Redis工具类
+ - EncryptUtils 加密工具类
+ - FileUtil 文件工具类
- eladmin-system 系统核心模块(系统启动入口)
- - config 配置跨域与静态资源,与数据权限
- - thread 线程池相关
- - modules 系统相关模块(登录授权、系统监控、定时任务、运维管理等)
+ - sysrunner 程序启动后处理数据
+ - modules 系统相关模块(登录授权、系统监控、定时任务、系统模块、运维模块)
- eladmin-logging 系统日志模块
- eladmin-tools 系统第三方工具模块
+ - email 邮件工具
+ - qiniu 七牛云存储工具
+ - alipay 支付宝支付工具
+ - local-storage 本地存储工具
- eladmin-generator 系统代码生成模块
```
From 4e4ca2082867a4c4cd425e6e5c9e98a59832d0d0 Mon Sep 17 00:00:00 2001
From: Jie Zheng <201507802@qq.com>
Date: Wed, 22 Jan 2025 10:17:28 +0800
Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E5=8D=87=E7=BA=A7=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E4=BE=9D=E8=B5=96=E4=BA=8E=E4=BC=98=E5=8C=96=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=EF=BC=88=E5=8D=87=E7=BA=A7fastjson2=EF=BC=8C=E4=B8=8D?=
=?UTF-8?q?=E5=86=8D=E5=85=BC=E5=AE=B9fastjson1=EF=BC=89=EF=BC=8C=E5=85=B6?=
=?UTF-8?q?=E4=BB=96=E5=8D=87=E7=BA=A7=E7=9C=8B=E8=AF=A6=E6=83=85=20?=
=?UTF-8?q?=E5=8D=87=E7=BA=A7=20hutool=EF=BC=9A5.8.35=20=E5=8D=87=E7=BA=A7?=
=?UTF-8?q?=20oshi-core=EF=BC=9A6.6.5=20=E5=8D=87=E7=BA=A7=20mica-ip2regio?=
=?UTF-8?q?n=EF=BC=9A2.7.18.9=20=E5=8D=87=E7=BA=A7=20poi=EF=BC=9A5.4.0=20?=
=?UTF-8?q?=E5=8D=87=E7=BA=A7=20commons-text=EF=BC=9A1.13.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
eladmin-common/pom.xml | 6 +-
.../zhengjie/config/RedisConfiguration.java | 38 ++++------
.../zhengjie/config/RemoveDruidAdConfig.java | 2 +-
.../config/webConfig/ConfigurerAdapter.java | 11 +--
.../config/webConfig/SwaggerConfig.java | 2 +-
.../java/me/zhengjie/utils/SecurityUtils.java | 6 +-
.../me/zhengjie/utils/SpringBeanHolder.java | 2 +-
eladmin-generator/pom.xml | 4 +-
.../src/main/resources/template/admin/Dto.ftl | 4 +-
eladmin-logging/pom.xml | 4 +-
.../service/impl/SysLogServiceImpl.java | 4 +-
eladmin-system/pom.xml | 26 +++----
.../maint/websocket/WebSocketServer.java | 2 +-
.../modules/quartz/utils/QuartzRunnable.java | 2 +-
.../security/service/dto/JwtUserDto.java | 2 +-
.../zhengjie/modules/system/domain/Dept.java | 2 +-
.../zhengjie/modules/system/domain/Menu.java | 3 +-
.../zhengjie/modules/system/domain/Role.java | 2 +-
.../modules/system/service/dto/UserDto.java | 2 +-
eladmin-tools/pom.xml | 4 +-
.../service/impl/QiNiuServiceImpl.java | 2 +-
pom.xml | 74 ++++++++++++-------
22 files changed, 104 insertions(+), 100 deletions(-)
diff --git a/eladmin-common/pom.xml b/eladmin-common/pom.xml
index dd010d62..e1510a7a 100644
--- a/eladmin-common/pom.xml
+++ b/eladmin-common/pom.xml
@@ -1,7 +1,5 @@
-
+
eladmin
me.zhengjie
@@ -9,7 +7,7 @@
4.0.0
- 5.8.21
+ 5.8.35
eladmin-common
diff --git a/eladmin-common/src/main/java/me/zhengjie/config/RedisConfiguration.java b/eladmin-common/src/main/java/me/zhengjie/config/RedisConfiguration.java
index 1f757fe4..cdd47e4b 100644
--- a/eladmin-common/src/main/java/me/zhengjie/config/RedisConfiguration.java
+++ b/eladmin-common/src/main/java/me/zhengjie/config/RedisConfiguration.java
@@ -15,9 +15,9 @@
*/
package me.zhengjie.config;
-import com.alibaba.fastjson.JSON;
-import com.alibaba.fastjson.parser.ParserConfig;
-import com.alibaba.fastjson.serializer.SerializerFeature;
+import com.alibaba.fastjson2.JSON;
+import com.alibaba.fastjson2.JSONFactory;
+import com.alibaba.fastjson2.JSONWriter;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.cache.Cache;
@@ -33,8 +33,8 @@ import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.RedisSerializationContext;
import org.springframework.data.redis.serializer.RedisSerializer;
+import org.springframework.data.redis.serializer.SerializationException;
import org.springframework.data.redis.serializer.StringRedisSerializer;
-
import java.nio.charset.StandardCharsets;
import java.time.Duration;
import java.util.HashMap;
@@ -65,25 +65,13 @@ public class RedisConfiguration {
@Bean(name = "redisTemplate")
public RedisTemplate