From c53ddd22d5222a28c547f1e8bf5ccf054d11dc9e Mon Sep 17 00:00:00 2001 From: xiaohanzi Date: Thu, 9 Jul 2020 01:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/mlWechatOpen/src/main/resources/application-prod.yml b/mlWechatOpen/src/main/resources/application-prod.yml index 7375bb3..c174ad2 100644 --- a/mlWechatOpen/src/main/resources/application-prod.yml +++ b/mlWechatOpen/src/main/resources/application-prod.yml @@ -1,11 +1,11 @@ spring: profiles: - include: rocketMQ + include: aliyunRocketMQ # JDBC datasource: - url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true - username: ENC(NUzgQOdJnCbVLKT6BaX0aw==) - password: ENC(mvuoDRiu0jqYaKNRwwTuXZ6U7aoIaqsjdiPqTLgi/nY=) + url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true + username: ENC(nUefcxWYlMS/1cDxikIKwA==) + password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq) type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver filters: stat @@ -24,9 +24,9 @@ spring: connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" # REDIS redis: - host: 127.0.0.1 + host: 101.201.103.81 port: 6379 - password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=) + password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL) timeout: 3600 expire: 1800 #30分钟 database: 1 @@ -37,11 +37,21 @@ spring: max-idle: 8 max-wait: -1 min-idle: 0 + # SMS + aliyun: + sms: + accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V + accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry + product: Dysmsapi + domain: dysmsapi.aliyuncs.com + regionId: cn-hangzhou + dateFormat: yyyyMMdd + endpointName: cn-hangzhou # EMAIL mail: host: smtp.exmail.qq.com - username: ENC(IiL/PHP9wCkpibWHRH/Mts8K9fh4izYqaiaF66bDrqtEHP+KUcJRRg==) - password: ENC(m7L57m8mk6tApVoa4XIDQnXF0VxnYjKe4LVdzcgb+xY=) # 授权密码 + username: zhengfangyuan@iformall.com + password: xnydCeUzofB2h8qp # 授权密码 properties: mail: smtp: @@ -65,9 +75,9 @@ wechat: componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC) componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=) redis: - host: 127.0.0.1 + host: 101.201.103.81 port: 6379 - password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=) + password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL) timeout: 3600 expire: 1800 #30分钟 database: 2 @@ -84,7 +94,7 @@ fm: exception_emails: houtaikaifa@iformall.com audit_emails: xiaochengxufabu@iformall.com deploy: 3 - upload_dir: /home/ec2-user/server/uploads/ + upload_dir: /root/uploads/ logging: level: