From db287aac9eb5032b1158b405a9b4807301467ed3 Mon Sep 17 00:00:00 2001 From: zhouxiang <zhouxiang> Date: 星期四, 24 三月 2022 17:48:03 +0800 Subject: [PATCH] 添加redis获取整个hashKey数据和单个hashKey数据方法 --- src/main/java/com/hx/mybatis/aes/springbean/ConstantBean.java | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 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 d64a839..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,11 +11,14 @@ 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:}") + private String initVersion; public String getPackPath() { return packPath; @@ -32,4 +35,12 @@ public void setFixedAesKey(String fixedAesKey) { this.fixedAesKey = fixedAesKey; } + + public String getInitVersion() { + return initVersion; + } + + public void setInitVersion(String initVersion) { + this.initVersion = initVersion; + } } -- Gitblit v1.8.0