Files
gofly-platform-services/zlt-business/order-center/src/main/resources/application.yml
T

50 lines
1.9 KiB
YAML
Raw Normal View History

spring:
datasource:
# url: jdbc:mysql://${zlt.datasource.ip}:3306/device-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
url: jdbc:mysql://${zlt.datasource.ip}/order-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
username: ${zlt.datasource.username}
password: ${zlt.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.central.device.model
global-config:
db-config:
id-type: auto
springdoc:
group-configs:
- group: 'default'
paths-to-match: '/**'
packages-to-scan: com.central.order.controller
knife4j:
enable: true
setting:
swagger-model-name: 订单中心接口文档
# 微信支付商户号
wxpay:
mchId: ${zlt.wxpay.mchId}
# 微信支付商户密钥
mchKey: ${zlt.wxpay.mchKey}
# 微信支付申请的应用ID
appId: ${zlt.wxpay.appId}
# 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
notifyUrl: ${zlt.wxpay.notifyUrl}
# 微信支付API证书路径(如果需要证书的情况下,这里填写证书相关文件的路径)
certPath: ${zlt.wxpay.certPath}
# 微信支付API证书密码(如果有)
certPassword: ${zlt.wxpay.certPassword}
#审计日志
# audit-log:
# enabled: true
# log-type: db
# datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# jdbc-url: jdbc:mysql://${zlt.datasource.ip}:3306/logger-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
# username: ${zlt.datasource.username}
# password: ${zlt.datasource.password}