From 0344dc66783353faff118a0ea91f7d2aa07bbd4a Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期六, 02 四月 2022 18:47:44 +0800
Subject: [PATCH] 优化加密初始化方法

---
 src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java b/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java
index f7281c2..2cdc32d 100644
--- a/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java
+++ b/src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java
@@ -11,13 +11,13 @@
 public class ConstantBean {
 
     /**鑾峰彇AES绉橀挜鐨勯厤缃紙浠庝粈涔堝寘鑾峰彇鍒帮級*/
-    @Value("${mysql.hxe.aes.find.packs:null}")
+    @Value("${mysql.hxe.aes.find.packs:}")
     private String packPath;
     /**鍥哄畾AES鐨勭閽�*/
-    @Value("${mysql.hxe.aes.fixd.key:null}")
+    @Value("${mysql.hxe.aes.fixd.key:}")
     private String fixedAesKey;
     /**鏁版嵁搴撳垵濮嬪寲鍔犲瘑瀛楁鐗堟湰鍙�*/
-    @Value("${mysql.hxe.aes.init.version:null}")
+    @Value("${mysql.hxe.aes.init.version:}")
     private String initVersion;
 
     public String getPackPath() {

--
Gitblit v1.8.0