From ffb38bc2a78e67e56bfb5bf028a1567204ea59eb Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 30 May 2024 11:43:54 +0800
Subject: [PATCH] 图片上传

---
 src/main/resources/application-prod.yml |   40 ++++++++++++++++++++++------------------
 1 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index 0d0e947..744c7fe 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
   datasource:
     dynamic:
       # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
-      p6spy: true
+      p6spy: false
       hikari:
         connection-timeout: 30000
         max-lifetime: 1800000
@@ -15,24 +15,20 @@
       datasource:
         # 数据源-1,名称为 base
         base:
-#          username: db_mall
-#          password: mall!@#123
-#          driver-class-name: com.mysql.cj.jdbc.Driver
-#          url: jdbc:mysql://127.0.0.1:3306/db_pingtuan?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
-          username: db_yyg
-          password: yyg123!@#
+          username: db_yunzhong
+          password: db_yunzhong321
           driver-class-name: com.mysql.cj.jdbc.Driver
-          url: jdbc:mysql://121.37.162.173:3306/db_yyg?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+          url: jdbc:mysql://127.0.0.1:3306/db_yunzhong?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8&useSSL=false
 
   redis:
     # Redis数据库索引(默认为 0)
-    database: 0
+    database: 1
     # Redis服务器地址
     host: 127.0.0.1
     # Redis服务器连接端口
     port: 6379
     # Redis 密码
-    password: zhongji-mall=-0
+    password: 1!qaz2@WSX
     lettuce:
       pool:
         # 连接池中的最小空闲连接
@@ -48,8 +44,8 @@
   rabbitmq:
     host: 127.0.0.1
     port: 5672
-    username: zj_mall
-    password: zj_mall123
+    username: xc_rabbit
+    password: xuncong123
     publisher-confirm-type: correlated
 
 pay:
@@ -65,13 +61,21 @@
 
 xcx:
   wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
-  xcx_appid: wx0b515f652282158e
-  xcx_secret: 8d3d3c14221f7dc37650b861dc0fc570
+  xcx_appid: wx4118b853de343a16
+  xcx_secret: 0c367c3333093572882dbb9cbe9f30b6
   debug: false
-  wecharPaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/wxpayCallback
-  wecharRechargePaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/rechargeCallBack
-  certLocalPath: /home/yyscCert/apiclient_cert.p12
-  wecharpayMchid: 1631084809
+  wecharPaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/wxpayCallback
+  wecharRechargePaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/rechargeCallBack
+  certLocalPath: /home/javaweb/webresource/yzyl/cert/apiclient_cert.p12
+  wecharpayMchid: 1676508272
   wecharpaySecret: YYSC13875978057YYSC13875978057SH
   gaodeKey: 95ede7157929f5f6b6c758971be924b1
   serviceName: yiyuanshucai
+
+static:
+  resource:
+    url: https://file.csyzyl.com/file/
+    path: /home/javaweb/webresource/yzyl/file/
+
+system:
+  job: true
\ No newline at end of file

--
Gitblit v1.9.1