From 9fb868b93b4fbc4c8863afb93d06f0e6b3a6ef66 Mon Sep 17 00:00:00 2001
From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com>
Date: Mon, 9 Sep 2024 11:29:24 +0800
Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=8A=A0?=
=?UTF-8?q?=E5=AF=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bonus-auth/pom.xml | 2 +-
bonus-gateway/pom.xml | 2 +-
.../com/bonus/gateway/BonusGatewayApplication.java | 10 ++++------
bonus-modules/bonus-gen/pom.xml | 2 +-
bonus-modules/bonus-system/pom.xml | 8 +++++++-
pom.xml | 1 +
6 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/bonus-auth/pom.xml b/bonus-auth/pom.xml
index 11612ef..41c32a6 100644
--- a/bonus-auth/pom.xml
+++ b/bonus-auth/pom.xml
@@ -55,7 +55,7 @@
com.github.ulisesbocchio
jasypt-spring-boot-starter
- 3.0.2
+ ${jasypt-spring-boot-starter.version}
diff --git a/bonus-gateway/pom.xml b/bonus-gateway/pom.xml
index 59ae83f..9edab95 100644
--- a/bonus-gateway/pom.xml
+++ b/bonus-gateway/pom.xml
@@ -90,7 +90,7 @@
com.github.ulisesbocchio
jasypt-spring-boot-starter
- 3.0.2
+ ${jasypt-spring-boot-starter.version}
diff --git a/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java b/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java
index eaf16b2..423bda2 100644
--- a/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java
+++ b/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java
@@ -25,12 +25,10 @@ public class BonusGatewayApplication implements CommandLineRunner {
private StringEncryptor encryptor;
@Override
public void run(String... args) throws Exception {
- String nacos = encrypt("Jjsp@nacos2023" );
- String mogodb = encrypt("Bonus@admin123!" );
- System.err.println( "nacos原始明文密码加密后的结果为:" + nacos );
- System.err.println( "mogodb原始明文密码加密后的结果为:" + mogodb );
-// String string = decrypt("ENC(b8K5x5rjN7qdGdmhgzFayK/P6ZVbC/UNBHjx2SBJkoqU149aXRtJsFhDZcgpckFf)");
-// System.err.println( "明文结果为:" + string );
+// String encryptStr = encrypt("f648524d-0a7b-449e-8f92-64e05236fd51" );
+// System.err.println( "原始明文密码加密后的结果为:" + encryptStr );
+// String decrtyptStr = decrypt("ENC(b8K5x5rjN7qdGdmhgzFayK/P6ZVbC/UNBHjx2SBJkoqU149aXRtJsFhDZcgpckFf)");
+// System.err.println( "明文结果为:" + decrtyptStr );
}
diff --git a/bonus-modules/bonus-gen/pom.xml b/bonus-modules/bonus-gen/pom.xml
index 077fdae..b70056b 100644
--- a/bonus-modules/bonus-gen/pom.xml
+++ b/bonus-modules/bonus-gen/pom.xml
@@ -75,7 +75,7 @@
com.github.ulisesbocchio
jasypt-spring-boot-starter
- 3.0.2
+ ${jasypt-spring-boot-starter.version}
diff --git a/bonus-modules/bonus-system/pom.xml b/bonus-modules/bonus-system/pom.xml
index 4737638..13eee10 100644
--- a/bonus-modules/bonus-system/pom.xml
+++ b/bonus-modules/bonus-system/pom.xml
@@ -16,7 +16,13 @@
-
+
+
+
+ com.github.ulisesbocchio
+ jasypt-spring-boot-starter
+ ${jasypt-spring-boot-starter.version}
+
com.alibaba.cloud
diff --git a/pom.xml b/pom.xml
index 42982dc..5a6e628 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
8.2.2
4.1.2
2.14.4
+ 3.0.2