From d873822e5964a52803cac434f040e24b6a439804 Mon Sep 17 00:00:00 2001
From: goupan <goupan@chinapopin.com>
Date: 星期六, 27 四月 2024 23:20:12 +0800
Subject: [PATCH] 正式环境配置

---
 rest/src/main/resources/application-prod.yml    |   10 ++++++++--
 rest/src/main/resources/application.yml         |    6 ++++++
 guns/src/main/resources/application-prod.yml    |    4 ++--
 rest/src/main/resources/ijpay/wxpay.properties  |    4 ++--
 rest/src/main/resources/ijpay/alipay.properties |    2 +-
 5 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/guns/src/main/resources/application-prod.yml b/guns/src/main/resources/application-prod.yml
index 0c39a9c..1f8482b 100644
--- a/guns/src/main/resources/application-prod.yml
+++ b/guns/src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
 spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.0.33:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
+    url: jdbc:mysql://192.168.0.84:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
     username: root
     password: Root2024!
 
@@ -11,7 +11,7 @@
     max-pool-prepared-statement-per-connection-size: 100
 
   redis:
-    host: 192.168.0.33 #地址
+    host: 192.168.0.84 #地址1.95.42.247
     port: 8379 #端口
     password: RediS2018
     timeout: 10000 # 连接超时时间(毫秒)
diff --git a/rest/src/main/resources/application-prod.yml b/rest/src/main/resources/application-prod.yml
index 0c39a9c..f76c656 100644
--- a/rest/src/main/resources/application-prod.yml
+++ b/rest/src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
 spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.0.33:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
+    url: jdbc:mysql://192.168.0.84:8306/xlzx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
     username: root
     password: Root2024!
 
@@ -11,7 +11,7 @@
     max-pool-prepared-statement-per-connection-size: 100
 
   redis:
-    host: 192.168.0.33 #地址
+    host: 192.168.0.84 #地址1.95.42.247
     port: 8379 #端口
     password: RediS2018
     timeout: 10000 # 连接超时时间(毫秒)
@@ -23,3 +23,9 @@
         max-idle: 10 # 连接池中的最大空闲连接
         min-idle: 0 # 连接池中的最小空闲连接
         time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
+
+# 支付环境域名(回调-prod)
+alipay:
+  domain: http://1.95.42.247:8081/rest
+wxpay:
+  domain: http://1.95.42.247:8081/rest
\ No newline at end of file
diff --git a/rest/src/main/resources/application.yml b/rest/src/main/resources/application.yml
index 69ca016..ab7a4d6 100644
--- a/rest/src/main/resources/application.yml
+++ b/rest/src/main/resources/application.yml
@@ -87,3 +87,9 @@
 refund:
   alipay-url: http://1.95.0.51:8081/rest/aliPay/notLogin/tradeRefund
   wxpay-url: http://1.95.0.51:8081/rest/wxPay/notLogin/refund
+
+# 支付环境域名(回调-test)
+alipay:
+  domain: http://1.95.0.51:8081/rest
+wxpay:
+  domain: http://1.95.0.51:8081/rest
diff --git a/rest/src/main/resources/ijpay/alipay.properties b/rest/src/main/resources/ijpay/alipay.properties
index 4229fca..6bba817 100644
--- a/rest/src/main/resources/ijpay/alipay.properties
+++ b/rest/src/main/resources/ijpay/alipay.properties
@@ -5,4 +5,4 @@
 alipay.aliPayCertPath=\u652F\u4ED8\u5B9D\u516C\u94A5\u8BC1\u4E66
 alipay.aliPayRootCertPath=\u652F\u4ED8\u5B9D\u6839\u8BC1\u4E66
 alipay.serverUrl=https://openapi.alipay.com/gateway.do
-alipay.domain=http://www.xintongtong.cn:8081/rest
\ No newline at end of file
+#alipay.domain=http://www.xintongtong.cn:8081/rest
\ No newline at end of file
diff --git a/rest/src/main/resources/ijpay/wxpay.properties b/rest/src/main/resources/ijpay/wxpay.properties
index de2974b..14428b0 100644
--- a/rest/src/main/resources/ijpay/wxpay.properties
+++ b/rest/src/main/resources/ijpay/wxpay.properties
@@ -2,8 +2,8 @@
 wxpay.appSecret=7d8845342e3af5b5ff2289b55eccd716
 wxpay.mchId=1675018573
 wxpay.partnerKey=H8JdzeF35n2yTRfNk2WnZxEtbY3aB8P0
-# wxpay.partnerKey=mQQc4irkRkKp0B25cnPWthHc9YbByJy9
+#wxpay.partnerKey=mQQc4irkRkKp0B25cnPWthHc9YbByJy9
 wxpay.certPath=/ijpay/cert/apiclient_cert.p12
-wxpay.domain=http://www.xintongtong.cn:8081/rest
+#wxpay.domain=http://www.xintongtong.cn:8081/rest
 wxpay.worker.appId=wx360336f91d289d52
 wxpay.worker.appSecret=9022c6a2e8d628e85c99fa787313a79e
\ No newline at end of file

--
Gitblit v1.7.1