提交
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
|
||||
# 数据源配置
|
||||
spring:
|
||||
redis:
|
||||
# 地址
|
||||
host: localhost
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 连接超时时间
|
||||
timeout: 30s
|
||||
# 密码
|
||||
password: Huitu123
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://localhost:3306/ddht?useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: root
|
||||
# url: jdbc:mysql://124.223.56.113:13306/ddht?useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: ddht
|
||||
# password: ZGFSCkDHmLN62Mnt
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
enabled: true
|
||||
url: jdbc:mysql://wiz.52o.site:13306/ddht?useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: ddht
|
||||
password: i5y4EacPLkWSm6sz
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: ruoyi
|
||||
login-password: 123456
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
|
||||
oss:
|
||||
local:
|
||||
#文件域名
|
||||
domain: http://localhost:8080
|
||||
#存储路径
|
||||
upload-file-path: D:/ruoyiVueS
|
||||
aliyun:
|
||||
#阿里云api的内或外网域名
|
||||
endpoint: oss-cn-beijing.aliyuncs.com
|
||||
#阿里云api的密钥access key id
|
||||
access-key-id:
|
||||
#阿里云api的密钥access key secret
|
||||
access-key-secret:
|
||||
#阿里云api的bucket名称
|
||||
bucket-name:
|
||||
#外部访问域名
|
||||
domain: http://xxxxx.oss-cn-beijing.aliyuncs.com
|
||||
|
||||
basepath:
|
||||
url: http://dianqi.natapp1.cc
|
||||
wecom:
|
||||
corpid: ww45fb4d72c735ee1d
|
||||
corpsecret: 5x3F-AHQMO9VwpXH9_lOUX8887sqb1fUx0-5goN6U_Y
|
||||
|
||||
# 拉卡拉测试支付参数
|
||||
lalkla:
|
||||
#拉卡拉开放平台进行配置开通
|
||||
appId: OP00002734
|
||||
#商户号
|
||||
merchantNo: 8223610899900ZC
|
||||
#商户证书序列号,和商户私钥对应
|
||||
serialNo: 018f86243d2c
|
||||
#商户私钥地址,用于请求签名
|
||||
priKeyPath: G:/lakala/OP00000003_private_key.pem
|
||||
#拉卡拉公钥证书地址,用于验签(测试证书为:lkl-apigw-v1.cer)
|
||||
lklCerPath: G:/lakala/lkl-apigw-v2.cer
|
||||
#拉卡拉支付平台证书地址2(用于拉卡拉通知验签,证书与lklCerPath)一致,测试证书为:lkl-apigw-v1.cer)
|
||||
lklNotifyCerPath: G:/lakala/lkl-apigw-v2.cer
|
||||
#拉卡拉开放平台服务地址
|
||||
serverUrl: https://s2.lakala.com
|
||||
#如果需要密文传输请申请拉卡拉SM4密钥
|
||||
sm4Key: 0I4M0kmwFrNUU8hZ9AFpfA==
|
||||
# 文件下载存储地址
|
||||
basePath: G:\download\
|
||||
# 文件下载存储地址
|
||||
filePath: G:\file\
|
||||
Reference in New Issue
Block a user