2025-01-13 10:54:30 +08:00
|
|
|
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
|
2025-01-30 10:10:12 +08:00
|
|
|
url: jdbc:mysql://${zlt.datasource.ip}/order-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
2025-01-13 10:54:30 +08:00
|
|
|
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
|
2025-02-08 08:21:33 +08:00
|
|
|
# configuration:
|
|
|
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
2025-01-13 10:54:30 +08:00
|
|
|
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: 订单中心接口文档
|
|
|
|
|
|
|
|
|
|
# 微信支付商户号
|
2025-01-14 17:44:35 +08:00
|
|
|
tencent:
|
|
|
|
|
merchantId: ${zlt.wxpay.merchantId}
|
2025-01-13 10:54:30 +08:00
|
|
|
# 微信支付商户密钥
|
2025-01-14 17:44:35 +08:00
|
|
|
merchantSerialNumber: ${zlt.wxpay.merchantSerialNumber}
|
2025-01-13 10:54:30 +08:00
|
|
|
# 微信支付申请的应用ID
|
|
|
|
|
appId: ${zlt.wxpay.appId}
|
|
|
|
|
# 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
|
|
|
|
|
notifyUrl: ${zlt.wxpay.notifyUrl}
|
|
|
|
|
# 微信支付API证书路径(如果需要证书的情况下,这里填写证书相关文件的路径)
|
2025-01-14 17:44:35 +08:00
|
|
|
privateKeyPath: ${zlt.wxpay.privateKeyPath}
|
|
|
|
|
apiV3Key: ${zlt.wxpay.apiV3Key}
|
2025-01-18 19:05:51 +08:00
|
|
|
appSecret: ${zlt.security.tencent.app-secret}
|
|
|
|
|
accessTokenUrl: ${zlt.security.tencent.accessTokenUrl}
|
|
|
|
|
getwxacodeUrl: https://api.weixin.qq.com/wxa/getwxacode?access_token=
|
2025-02-24 10:21:57 +08:00
|
|
|
# 微信退款通知地址
|
|
|
|
|
refund-notify-url: ${zlt.wxrefund.notifyUrl}
|
2025-03-20 11:34:04 +08:00
|
|
|
notification:
|
|
|
|
|
app-id:
|
|
|
|
|
app-secret:
|
|
|
|
|
token:
|
|
|
|
|
encoding-aes-key:
|
2025-04-15 10:29:39 +08:00
|
|
|
pay:
|
|
|
|
|
profit-sharing:
|
|
|
|
|
enabled: true
|
|
|
|
|
max-retry-times: 3
|
|
|
|
|
retry-interval: 300000
|
|
|
|
|
platform-rate: 30
|
|
|
|
|
timeout: 1800000
|
|
|
|
|
async-enabled: true
|
|
|
|
|
async-pool-size: 5
|
|
|
|
|
api:
|
|
|
|
|
profit-sharing-url: https://api.mch.weixin.qq.com/v3/profitsharing/orders
|
2025-02-13 14:25:23 +08:00
|
|
|
file:
|
2025-02-10 09:32:44 +08:00
|
|
|
oss-url: goflyapp.oss-cn-beijing.aliyuncs.com
|
2025-02-13 14:25:23 +08:00
|
|
|
cdn-url: cdn.goflytec.com
|
2025-03-21 13:57:55 +08:00
|
|
|
style: image/resize,m_mfit,w_300,h_250
|
2025-01-13 10:54:30 +08:00
|
|
|
#审计日志
|
|
|
|
|
# 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}
|
2025-04-15 16:37:18 +08:00
|
|
|
|
|
|
|
|
aliyun:
|
|
|
|
|
ims:
|
2025-04-17 10:52:53 +08:00
|
|
|
oss-endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
|
|
access-key-id: LTAI5tSNV1RvexXpMMCZhxSe
|
|
|
|
|
access-key-secret: XocJRWU8emwjjvYLTrc04l91VZMkQK
|
2025-04-15 23:43:17 +08:00
|
|
|
endpoint: ice.cn-beijing.aliyuncs.com
|
|
|
|
|
region: cn-beijing
|
2025-04-17 10:52:53 +08:00
|
|
|
bucket: goflyapp # 使用实际存在的bucket名称
|
|
|
|
|
|
2025-04-17 18:00:50 +08:00
|
|
|
wx:
|
|
|
|
|
mp:
|
|
|
|
|
templateId:
|
|
|
|
|
paymentSuccess: 你的支付成功通知模板ID
|
|
|
|
|
|