diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index d526a1a..399531c 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -9,9 +9,9 @@ spring: #url: jdbc:mysql://192.168.254.6:3306/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 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==) + #password: heheda.0 + username: ENC(CGPbM+51e17y+iMldt34eQ==) + password: ENC(8OQ6a5+k6raPKero5sLVdpw9jIUtJRjS) # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 2160591..1e89a35 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 8087 + port: 9001 servlet: # 应用的访问路径 context-path: / @@ -59,7 +59,7 @@ spring: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss profiles: - active: dev + active: prod # 文件上传 servlet: multipart: diff --git a/ruoyi-admin/src/test/java/com/ruoyi/EncFactory.java b/ruoyi-admin/src/test/java/com/ruoyi/EncFactory.java index ad420c8..62324ab 100644 --- a/ruoyi-admin/src/test/java/com/ruoyi/EncFactory.java +++ b/ruoyi-admin/src/test/java/com/ruoyi/EncFactory.java @@ -16,7 +16,7 @@ public class EncFactory { public static void main(String[] args) { String securityKey = "NBPLUS"; // 加密秘钥 - String data = "123456"; // 需要加密的字符串 + String data = "heheda.0"; // 需要加密的字符串 PooledPBEStringEncryptor encryptor = new PooledPBEStringEncryptor(); SimpleStringPBEConfig config = new SimpleStringPBEConfig();