From 220da5159c5ce32f9096e02316b4c9019b09dba7 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 06 十一月 2023 17:27:15 +0800
Subject: [PATCH] 1.新增工具类

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

diff --git a/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java b/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java
index b9dba4c..059c03e 100644
--- a/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java
+++ b/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java
@@ -42,6 +42,10 @@
 
     /**鍥哄畾鐨刟es绉橀挜*/
     public static String AES_KEY = null;
+    /**鏁版嵁搴撳姞瀵嗗瓧娈靛垵濮嬪寲鐗堟湰鍙�*/
+    public static String INIT_VERSION = null;
+
+
 
     /**瀛樺偍AES绉橀挜*/
     public static void setAesKey(String aesKeyFild,String aesKey){
@@ -64,11 +68,12 @@
      */
     @PostConstruct
     public void VariableAesKey(){
-
+        System.out.println("鍔犺浇AES");
         isRun = 1;
         //椤圭洰鍚姩鐨勬椂鍊欏~鍏�
         logger.info("鎵弿鑾峰彇AES鐨勫寘:" + constantBean.getPackPath());
         AES_KEY = constantBean.getFixedAesKey();
+        INIT_VERSION = constantBean.getInitVersion();
         if(!StringUtils.isEmpty(constantBean.getPackPath())){
             Set<Class<?>> classes = classData(constantBean.getPackPath());
             logger.info("鎵弿鑾峰彇AES鐨勫寘classes:" + classes.size());

--
Gitblit v1.8.0