微信支付配置文件转移

This commit is contained in:
wangjinlei
2023-11-21 10:15:08 +08:00
parent 59d5ffb46f
commit 07f063ecaf
3 changed files with 83 additions and 86 deletions

View File

@@ -1,4 +1,3 @@
spring: spring:
redis: redis:
open: false # 是否开启redis缓存 true开启 false关闭 open: false # 是否开启redis缓存 true开启 false关闭

View File

@@ -1,4 +1,3 @@
spring: spring:
redis: redis:
open: false # 是否开启redis缓存 true开启 false关闭 open: false # 是否开启redis缓存 true开启 false关闭
@@ -18,9 +17,9 @@ spring:
druid: druid:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-2zev4157t67trxuu3yo.mysql.rds.aliyuncs.com:3306/e_book url: jdbc:mysql://rm-2zev4157t67trxuu3yo.mysql.rds.aliyuncs.com:3306/e_book
# username: root # username: root
# password: HSXY1234hsxy # password: HSXY1234hsxy
# password: Jgll2023Nutty # password: Jgll2023Nutty
username: nuttyreading username: nuttyreading
password: Wu751019! password: Wu751019!
initial-size: 10 initial-size: 10

View File

@@ -1,91 +1,90 @@
spring: spring:
redis: redis:
open: false # 是否开启redis缓存 true开启 false关闭 open: false # 是否开启redis缓存 true开启 false关闭
database: 0 database: 0
host: 59.110.212.44 host: 59.110.212.44
port: 6379 port: 6379
password: Jgll2015 # 密码(默认为空) password: Jgll2015 # 密码(默认为空)
timeout: 6000000ms # 连接超时时长(毫秒) timeout: 6000000ms # 连接超时时长(毫秒)
jedis: jedis:
pool: pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制) max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
druid: druid:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-2zev4157t67trxuu3yo.mysql.rds.aliyuncs.com:3306/e_book_test url: jdbc:mysql://rm-2zev4157t67trxuu3yo.mysql.rds.aliyuncs.com:3306/e_book_test
# username: root # username: root
# password: HSXY1234hsxy # password: HSXY1234hsxy
# password: Jgll2023Nutty # password: Jgll2023Nutty
username: nuttyreading username: nuttyreading
password: Wu751019! password: Wu751019!
initial-size: 10 initial-size: 10
max-active: 100 max-active: 100
min-idle: 10 min-idle: 10
max-wait: 60000 max-wait: 60000
pool-prepared-statements: true pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 20 max-pool-prepared-statement-per-connection-size: 20
time-between-eviction-runs-millis: 60000 time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000 min-evictable-idle-time-millis: 300000
#Oracle需要打开注释 #Oracle需要打开注释
#validation-query: SELECT 1 FROM DUAL #validation-query: SELECT 1 FROM DUAL
test-while-idle: true test-while-idle: true
test-on-borrow: false test-on-borrow: false
test-on-return: false test-on-return: false
stat-view-servlet: stat-view-servlet:
enabled: true enabled: true
url-pattern: /druid/* url-pattern: /druid/*
#login-username: admin #login-username: admin
#login-password: admin #login-password: admin
filter: filter:
stat: stat:
log-slow-sql: true log-slow-sql: true
slow-sql-millis: 1000 slow-sql-millis: 1000
merge-sql: false merge-sql: false
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
tomcat: tomcat:
initSQL: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci initSQL: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
rabbitmq: rabbitmq:
host: 39.106.36.183 host: 39.106.36.183
port: 5672 port: 5672
username: admin username: admin
password: 751019 password: 751019
virtualHost: / virtualHost: /
aliyun: aliyun:
oss: oss:
file: file:
endpoint: oss-cn-beijing.aliyuncs.com endpoint: oss-cn-beijing.aliyuncs.com
keyid: LTAIiSMeo8ztauV5 keyid: LTAIiSMeo8ztauV5
keysecret: pVIYAOIFSUGg61lYfE8cjg2ZNpnLJA keysecret: pVIYAOIFSUGg61lYfE8cjg2ZNpnLJA
bucketname: ehh-private-01 bucketname: ehh-private-01
sms: sms:
accessKeyId: LTAI5tJbbw5fY97pnw635yq3 accessKeyId: LTAI5tJbbw5fY97pnw635yq3
accessKeySecret: LTXQ9v3OYVwNVbDWWfVpbbcVDKErKi accessKeySecret: LTXQ9v3OYVwNVbDWWfVpbbcVDKErKi
singName: 疯子读书国际 singName: 疯子读书国际
templateCode: SMS_248840040 templateCode: SMS_248840040
sTemplateCode: SMS_463780139 sTemplateCode: SMS_463780139
server: server:
port: 9200 port: 9200
wxpay: wxpay:
appId: wx47134a8f15083734 appId: wx47134a8f15083734
mchId: 1612860909 mchId: 1612860909
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
notifyUrl: https://testapi.nuttyreading.com/pay/payNotify notifyUrl: https://testapi.nuttyreading.com/pay/payNotify
refundNotifyUrl: http://pjm6m9.natappfree.cc/pay/refundNotify refundNotifyUrl: http://pjm6m9.natappfree.cc/pay/refundNotify
keyPemPath: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem keyPemPath: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem
serialNo: 679AECB2F7AC4183033F713828892BA640E4EEE3 serialNo: 679AECB2F7AC4183033F713828892BA640E4EEE3
apiV3Key: 4aYFklzaULeGlr7oJPZ6rHWKcxjihZUF apiV3Key: 4aYFklzaULeGlr7oJPZ6rHWKcxjihZUF
wechatPayCertificateUrl: /usr/local/hs/peanut_book/target/classes/cent/wechatpay_7B5676E3CDF56680D0414A009CE501C844DBE2D6.pem wechatPayCertificateUrl: /usr/local/hs/peanut_book/target/classes/cent/wechatpay_7B5676E3CDF56680D0414A009CE501C844DBE2D6.pem
privateKeyUrl: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem privateKeyUrl: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem
redisAddress: redis://59.110.212.44:6379 redisAddress: redis://59.110.212.44:6379
redisPassword: Jgll2015 redisPassword: Jgll2015