68 lines
2.5 KiB
YAML
68 lines
2.5 KiB
YAML
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&allowMultiQueries=true
|
|
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
|
|
# configuration:
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
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: 订单中心接口文档
|
|
|
|
# 微信支付商户号
|
|
tencent:
|
|
merchantId: ${zlt.wxpay.merchantId}
|
|
# 微信支付商户密钥
|
|
merchantSerialNumber: ${zlt.wxpay.merchantSerialNumber}
|
|
# 微信支付申请的应用ID
|
|
appId: ${zlt.wxpay.appId}
|
|
# 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
|
|
notifyUrl: ${zlt.wxpay.notifyUrl}
|
|
# 微信支付API证书路径(如果需要证书的情况下,这里填写证书相关文件的路径)
|
|
privateKeyPath: ${zlt.wxpay.privateKeyPath}
|
|
apiV3Key: ${zlt.wxpay.apiV3Key}
|
|
appSecret: ${zlt.security.tencent.app-secret}
|
|
accessTokenUrl: ${zlt.security.tencent.accessTokenUrl}
|
|
getwxacodeUrl: https://api.weixin.qq.com/wxa/getwxacode?access_token=
|
|
# 微信退款通知地址
|
|
refund-notify-url: ${zlt.wxrefund.notifyUrl}
|
|
notification:
|
|
app-id:
|
|
app-secret:
|
|
token:
|
|
encoding-aes-key:
|
|
file:
|
|
oss-url: goflyapp.oss-cn-beijing.aliyuncs.com
|
|
cdn-url: cdn.goflytec.com
|
|
style: image/resize,m_fixed,w_100,h_90
|
|
#审计日志
|
|
# 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}
|
|
videos:
|
|
edit-config:
|
|
url: https://www.lieflat.cn/api/editTask/editTaskSubmit
|