From 2ed1199d48f7207f4a012c04f61e13ac1a8d5154 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 16 六月 2022 10:27:44 +0800 Subject: [PATCH] 新增请求安全工具 --- 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