2024-07-09 11:17:20 +08:00
|
|
|
|
# debug模式,部分权限校验不生效
|
|
|
|
|
debug: false
|
|
|
|
|
|
|
|
|
|
# 项目相关配置
|
|
|
|
|
ruoyi:
|
|
|
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
|
|
|
|
profile: /www/wwwroot/smart-swith/upload
|
|
|
|
|
|
|
|
|
|
wx:
|
|
|
|
|
# 微信小程序appId
|
|
|
|
|
appid: wx0fec9148db16a4bc
|
|
|
|
|
# 微信小程序appSecret
|
|
|
|
|
appSecret: 00bee09cac12ade459a911072745dacc
|
|
|
|
|
# 微信支付配置
|
|
|
|
|
pay:
|
|
|
|
|
# 微信小程序id
|
|
|
|
|
appId: ${wx.appid}
|
|
|
|
|
# 商户id
|
|
|
|
|
merchantId: 1656437344
|
|
|
|
|
# apiV3密钥
|
|
|
|
|
apiV3Key: 49819e0f0abdb2df3246f7b27f264d75
|
|
|
|
|
# 通知回调地址
|
2024-08-12 18:02:43 +08:00
|
|
|
|
notifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx
|
2024-07-10 16:00:33 +08:00
|
|
|
|
# 退款通知回调地址
|
2024-07-20 14:58:55 +08:00
|
|
|
|
refundNotifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx/refund
|
2024-08-12 18:02:43 +08:00
|
|
|
|
# 转账回调地址
|
|
|
|
|
transferNotifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx/transfer
|
2024-07-09 11:17:20 +08:00
|
|
|
|
# 密钥所在位置
|
|
|
|
|
privateKeyPath: /www/wwwroot/smart-switch/wxpay/apiclient_key.pem
|
|
|
|
|
# 证书序列号
|
|
|
|
|
merchantSerialNumber: 66910F800A60768020F07D39A56AE701574A16AE
|
|
|
|
|
|
|
|
|
|
# 设备配置
|
|
|
|
|
device:
|
|
|
|
|
# 项目启动时抄表
|
|
|
|
|
startRecord: true
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
# redis 配置
|
|
|
|
|
redis:
|
|
|
|
|
# 地址
|
|
|
|
|
host: localhost
|
|
|
|
|
# 端口,默认为6379
|
|
|
|
|
port: 6379
|
|
|
|
|
# 数据库索引
|
|
|
|
|
database: 1
|
|
|
|
|
# 密码
|
|
|
|
|
password: YgUIGNudqOQaRxHZ
|
|
|
|
|
# 连接超时时间
|
|
|
|
|
timeout: 10s
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
|
min-idle: 0
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
max-idle: 8
|
|
|
|
|
# 连接池的最大数据库连接数
|
|
|
|
|
max-active: 8
|
|
|
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
max-wait: -1ms
|
2024-08-02 11:05:36 +08:00
|
|
|
|
|
|
|
|
|
# 云商通配置
|
|
|
|
|
yst:
|
|
|
|
|
# appid
|
2024-08-02 14:03:28 +08:00
|
|
|
|
appId: 21762000921804636162
|
2024-08-02 11:05:36 +08:00
|
|
|
|
# 云商通二代分配的服务商应用ID
|
2024-08-02 14:03:28 +08:00
|
|
|
|
spAppId: ""
|
2024-08-02 11:05:36 +08:00
|
|
|
|
# 域名
|
2024-08-02 14:03:28 +08:00
|
|
|
|
host: http://116.228.64.55:28082
|
|
|
|
|
# 格式化
|
|
|
|
|
format: json
|
|
|
|
|
# 字符集
|
|
|
|
|
charset: UTF-8
|
|
|
|
|
# 签名方式
|
|
|
|
|
signType: SM3withSM2
|
|
|
|
|
# API版本
|
|
|
|
|
version: 1.0
|
|
|
|
|
# 秘钥
|
|
|
|
|
secret-key: 878427523d3525e070298d44481b8d2e
|
|
|
|
|
# 私钥
|
|
|
|
|
private-key: MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQgiaZmB+feACtziE8SYjVZsaQwLNLRiyO8ebSupeoWIF2gCgYIKoEcz1UBgi2hRANCAATwEo0zq6KaB992PToWeJH52LmfS0sFovnB8/LMaoIAOTlFJtA3YgjWXKlO3KT+GqOCfCC4xE60isCr28tqy7hM
|
|
|
|
|
# 公钥
|
|
|
|
|
public-key: MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEu9LNkJlyLtjJxtQWIGlcZ/hyHt5eZ7LEH1nfOiK1H9HsE1cMPu5KK5jZVTtAyc7lPMXixUMirf6A3tMbuMbgqg==
|