goupan
2024-04-27 d873822e5964a52803cac434f040e24b6a439804
正式环境配置
5个文件已修改
26 ■■■■ 已修改文件
guns/src/main/resources/application-prod.yml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rest/src/main/resources/application-prod.yml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rest/src/main/resources/application.yml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rest/src/main/resources/ijpay/alipay.properties 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
rest/src/main/resources/ijpay/wxpay.properties 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 # 连接超时时间(毫秒)
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
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
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
#alipay.domain=http://www.xintongtong.cn:8081/rest
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