feat:列表添加标题

dev
wangxy 1 year ago
parent 9e89ea2dfb
commit 2b3102e051

@ -7,11 +7,11 @@ spring:
# 主库数据源
master:
#url: jdbc:mysql://192.168.254.6:3306/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://192.168.254.85:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: root
#password: fq3gG@Ep
username: ENC(qIDwFzwTd7W+6W3NTJsfsQ==)
password: ENC(FZcHuy+40+UzU3k6M+FnT87FLCzZKG9S)
url: jdbc:mysql://10.89.2.136:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: java
#password: 123456
username: ENC(4eX4Y7rYI4d35kWPfgFObw==)
password: ENC(nUzY8yy1XsZD5YC6L2y/sw==)
# 从库数据源
slave:
# 从数据源开关/默认关闭

@ -16,7 +16,7 @@ public class EncFactory {
public static void main(String[] args) {
String securityKey = "NBPLUS"; // 加密秘钥
String data = "fq3gG@Ep"; // 需要加密的字符串
String data = "123456"; // 需要加密的字符串
PooledPBEStringEncryptor encryptor = new PooledPBEStringEncryptor();
SimpleStringPBEConfig config = new SimpleStringPBEConfig();

Loading…
Cancel
Save