From b787a52dbb8d982dcbdf7e2dceadcc918ae79f91 Mon Sep 17 00:00:00 2001 From: guo Date: Fri, 14 Jul 2023 15:30:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/resources/application.properties | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7f6363669..ec8ee02cc 100644 --- a/pom.xml +++ b/pom.xml @@ -585,7 +585,7 @@ com.github.ulisesbocchio jasypt-spring-boot-starter - 2.0.0 + 3.0.4 org.bouncycastle diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index da47387a7..ebaf03edc 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -22,6 +22,8 @@ spring.datasource.hikari.connection-timeout=50000 spring.datasource.hikari.connection-test-query=SELECT 1 # 数据库加密签名 jasypt.encryptor.password=JXJZHGDPT +jasypt.encryptor.algorithm=PBEWithMD5AndDES +jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator # 如果查询结果中包含空值的列,则 mybatis 在映射的时候,会不会映射这个字段 mybatis-plus.configuration.call-setters-on-nulls=true # 序列化配置