119 lines
4.1 KiB
YAML
119 lines
4.1 KiB
YAML
spring:
|
||
data:
|
||
redis:
|
||
open: false # 是否开启redis缓存 true开启 false关闭
|
||
database: 0
|
||
host: 47.93.127.115
|
||
port: 6379
|
||
password: Jgll2015 # 密码(默认为空)
|
||
timeout: 6000000ms # 连接超时时长(毫秒)
|
||
jedis:
|
||
pool:
|
||
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
|
||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||
max-idle: 10 # 连接池中的最大空闲连接
|
||
min-idle: 5 # 连接池中的最小空闲连接
|
||
datasource:
|
||
type: com.alibaba.druid.pool.DruidDataSource
|
||
druid:
|
||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
url: jdbc:mysql://rm-2zev4157t67trxuu3yo.mysql.rds.aliyuncs.com:3306/e_book_test?rewriteBatchedStatements=true
|
||
# username: root
|
||
# password: HSXY1234hsxy
|
||
# password: Jgll2023Nutty
|
||
username: nuttyreading
|
||
password: Wu751019!
|
||
initial-size: 10
|
||
max-active: 100
|
||
min-idle: 10
|
||
max-wait: 60000
|
||
pool-prepared-statements: true
|
||
max-pool-prepared-statement-per-connection-size: 20
|
||
time-between-eviction-runs-millis: 60000
|
||
min-evictable-idle-time-millis: 300000
|
||
#Oracle需要打开注释
|
||
#validation-query: SELECT 1 FROM DUAL
|
||
test-while-idle: true
|
||
test-on-borrow: false
|
||
test-on-return: false
|
||
stat-view-servlet:
|
||
enabled: true
|
||
url-pattern: /druid/*
|
||
#login-username: admin
|
||
#login-password: admin
|
||
filter:
|
||
stat:
|
||
log-slow-sql: true
|
||
slow-sql-millis: 1000
|
||
merge-sql: false
|
||
wall:
|
||
config:
|
||
multi-statement-allow: true
|
||
tomcat:
|
||
initSQL: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
|
||
|
||
rabbitmq:
|
||
host: 47.93.127.115
|
||
port: 5672
|
||
username: admin
|
||
password: 751019
|
||
virtualHost: /
|
||
aliyun:
|
||
oss:
|
||
file:
|
||
endpoint: oss-cn-beijing.aliyuncs.com
|
||
keyid: LTAIiSMeo8ztauV5
|
||
keysecret: pVIYAOIFSUGg61lYfE8cjg2ZNpnLJA
|
||
bucketname: ehh-private-01
|
||
sms:
|
||
accessKeyId: LTAI5tJbbw5fY97pnw635yq3
|
||
accessKeySecret: LTXQ9v3OYVwNVbDWWfVpbbcVDKErKi
|
||
singName: 疯子读书国际
|
||
templateCode: SMS_248840040
|
||
sTemplateCode: SMS_463780139
|
||
|
||
sms:
|
||
domestic:
|
||
url: http://116.62.212.142/msg/HttpBatchSendSM
|
||
account: MXT802795
|
||
pswd: Zm802795
|
||
content: 【天津众妙之门科技】,你的验证码为:XXXXXX,您正在进行身份验证,请勿泄露于他人!
|
||
abroad:
|
||
url: http://www.onesnok.net:9511/api/send-sms-single
|
||
account: 921689
|
||
pswd: 9de2a579
|
||
content: Tianjin Zhongmiao Gate Technology:Your verification code is:XXXXXX.
|
||
|
||
server:
|
||
port: 9200
|
||
|
||
wxpay:
|
||
appId: wx47134a8f15083734
|
||
zmzmappId: wx912aa600132dc965
|
||
wumenappId: wx6b17b40171dea988
|
||
xlkjappId: wxd6bfeec65bc7abee
|
||
thyyappId: wx5c50e3696028d2ec
|
||
#众妙商户号
|
||
mchId: 1612860909
|
||
serialNo: 679AECB2F7AC4183033F713828892BA640E4EEE3
|
||
apiV3Key: 4aYFklzaULeGlr7oJPZ6rHWKcxjihZUF
|
||
wechatPayCertificateUrl: /home/www/nuttyreading/cent/wechatpay_7B5676E3CDF56680D0414A009CE501C844DBE2D6.pem
|
||
privateKeyUrl: /home/www/nuttyreading/cent/apiclient_key.pem
|
||
keyPemPath: /home/www/nuttyreading/cent/apiclient_key.pem
|
||
notifyUrl: https://testapi.nuttyreading.com/pay/payNotify
|
||
refundNotifyUrl: https://testapi.nuttyreading.com/pay/refundNotify
|
||
#灵枢商户号
|
||
lsMchId: 1700371158
|
||
lsSerialNo: 3132D23C3130B74B87890DC6E7C80256C75113B9
|
||
lsApiV3Key: 4aYFklzaULeGlr7oJPZ6rHWKcxjihZUF
|
||
lsWechatPayCertificateUrl: /home/www/nuttyreading/cent/lscent/wechatpay_30CFE19A12EDB4D9E0C7DF01DBF457C657566D04.pem
|
||
lsPrivateKeyUrl: /home/www/nuttyreading/cent/lscent/apiclient_key.pem
|
||
lsKeyPemPath: /home/www/nuttyreading/cent/lscent/apiclient_key.pem
|
||
lsNotifyUrl: https://testapi.nuttyreading.com/pay/lsPayNotify
|
||
lsRefundNotifyUrl: https://testapi.nuttyreading.com/pay/lsRefundNotify
|
||
|
||
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
|
||
refundUrl: https://api.mch.weixin.qq.com/v3/refund/domestic/refunds
|
||
|
||
redisAddress: redis://47.93.127.115:6379
|
||
redisPassword: Jgll2015 |