smart-switch-java/smart-switch-web/src/main/resources/application-dev.yml

57 lines
1.4 KiB
YAML
Raw Normal View History

2024-04-19 16:36:24 +08:00
# debug模式部分权限校验不生效
2024-07-09 15:10:40 +08:00
debug: true
2024-04-19 16:36:24 +08:00
# 项目相关配置
ruoyi:
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: C:/ruoyi/uploadPath
wx:
# 微信小程序appId
appid: wx0fec9148db16a4bc
2024-04-19 16:36:24 +08:00
# 微信小程序appSecret
appSecret: 00bee09cac12ade459a911072745dacc
2024-04-19 16:36:24 +08:00
# 微信支付配置
pay:
# 微信小程序id
2024-05-06 15:07:24 +08:00
appId: ${wx.appid}
2024-04-19 16:36:24 +08:00
# 商户id
merchantId: 1656437344
# apiV3密钥
apiV3Key: 49819e0f0abdb2df3246f7b27f264d75
# 通知回调地址
2024-06-14 17:12:03 +08:00
notifyUrl: http://124.221.246.124:2290/dev-api/app/pay/notify/wx # 内网穿透
2024-04-19 16:36:24 +08:00
# 密钥所在位置
2024-04-27 10:31:34 +08:00
privateKeyPath: D:/project/证书/wxpay/apiclient_key.pem
2024-04-19 16:36:24 +08:00
# 证书序列号
merchantSerialNumber: 66910F800A60768020F07D39A56AE701574A16AE
# 设备配置
device:
# 项目启动时抄表
2024-04-23 11:19:24 +08:00
startRecord: false
2024-05-10 14:16:02 +08:00
spring:
# redis 配置
redis:
# 地址
host: localhost
# 端口默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password:
# 连接超时时间
timeout: 10s
lettuce:
pool:
# 连接池中的最小空闲连接
min-idle: 0
# 连接池中的最大空闲连接
max-idle: 8
# 连接池的最大数据库连接数
max-active: 8
# #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms