AES
chenjiahe
2022-01-07 e29546af6fcc89c64b17cee6de01ce2a963b33f4
提交 | 用户 | age
e29546 1 package com.hx.springbean;
C 2
3 import com.hx.common.annotations.MysqlHexAes;
4 import com.hx.util.StringUtils;
5 import org.springframework.beans.factory.annotation.Value;
6 import org.springframework.stereotype.Component;
7
8 import java.io.File;
9 import java.io.FileFilter;
10 import java.io.IOException;
11 import java.lang.reflect.Field;
12 import java.net.URL;
13 import java.net.URLDecoder;
14 import java.util.*;
15
16 /**
17  * 通用常量集中营
18  * @author CJH
19  */
20 @Component
21 public class ConstantBean {
22
23     /**获取AES秘钥的配置(从什么包获取到)*/
24     @Value("${mysql.hxe.aex.find.packs:null}")
25     private String packPath;
26
27     public String getPackPath() {
28         return packPath;
29     }
30
31     public void setPackPath(String packPath) {
32         this.packPath = packPath;
33     }
34 }