2026-01-14 12:24:39 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 10015
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: ebike-payment
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
multipart:
|
|
|
|
|
|
max-file-size: 30MB
|
|
|
|
|
|
max-request-size: 100MB
|
|
|
|
|
|
file-size-threshold: 0B
|
|
|
|
|
|
cloud:
|
|
|
|
|
|
nacos:
|
|
|
|
|
|
server-addr: 47.109.141.125:8848 # nacos
|
|
|
|
|
|
username: nacos
|
|
|
|
|
|
password: 970529
|
|
|
|
|
|
sql:
|
|
|
|
|
|
init:
|
|
|
|
|
|
platform: postgis
|
|
|
|
|
|
mode: never
|
|
|
|
|
|
schema-locations: classpath:db/init.sql
|
|
|
|
|
|
data-locations: classpath:db/data.sql
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
serialization:
|
|
|
|
|
|
write-dates-as-timestamps: false
|
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
url: jdbc:postgresql://47.109.141.125:5432/ebike_user?currentSchema=public&stringtype=unspecified
|
|
|
|
|
|
username: root
|
|
|
|
|
|
password: Cdzj1234
|
|
|
|
|
|
driver-class-name: org.postgresql.Driver
|
|
|
|
|
|
hikari:
|
|
|
|
|
|
## 最小空闲连接数量
|
|
|
|
|
|
minimum-idle: 2
|
|
|
|
|
|
## 空闲连接存活最大时间,默认600000(10分钟)
|
|
|
|
|
|
idle-timeout: 180000
|
|
|
|
|
|
## 连接池最大连接数,默认是10
|
|
|
|
|
|
maximum-pool-size: 5
|
|
|
|
|
|
## 数据库连接超时时间,默认30秒,即30000
|
|
|
|
|
|
connection-timeout: 30000
|
|
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
|
|
##此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
|
|
|
|
|
|
max-lifetime: 1800000
|
|
|
|
|
|
|
|
|
|
|
|
mybatis-flex:
|
|
|
|
|
|
mapper-locations: classpath:mapper/*.xml
|
|
|
|
|
|
|
|
|
|
|
|
payment:
|
|
|
|
|
|
wx-pay:
|
|
|
|
|
|
app-id: wx327d788d7bd6eddf
|
|
|
|
|
|
merchant-id: 1715147005
|
|
|
|
|
|
private-key-path: /opt/wxpay/apiclient_key.pem
|
|
|
|
|
|
public-key-path: /opt/wxpay/pub_key.pem
|
|
|
|
|
|
merchant-serial-number: 7873E3E694ADD0368EA3E9FAC929F496EECB8DF9
|
|
|
|
|
|
api-v3-key: 1715147005V3Key20250425174554633
|
|
|
|
|
|
public-key-id: PUB_KEY_ID_0117151470052025042500331704000601
|
|
|
|
|
|
pay-notify_url: https://www.cx.cdzhuojing.cn/ebike/payment/wxPayment/notify/pay
|
|
|
|
|
|
refund-notify_url: https://www.cx.cdzhuojing.cn/ebike/payment/wxPayment/notify/refund
|
|
|
|
|
|
expire-minute: 120
|
|
|
|
|
|
query-limit: 100
|
|
|
|
|
|
pay-schedule: 0 0 0/2 * * ?
|
|
|
|
|
|
refund-schedule: 0 0/30 * * * ?
|
|
|
|
|
|
task-scheduler-pool:
|
|
|
|
|
|
poolSize: 100
|
|
|
|
|
|
threadNamePrefix: task-scheduled-
|
|
|
|
|
|
waitForTasksToCompleteOnShutdown: true
|
|
|
|
|
|
awaitTerminationSeconds: 30
|
|
|
|
|
|
|
|
|
|
|
|
management:
|
|
|
|
|
|
endpoints:
|
|
|
|
|
|
web:
|
|
|
|
|
|
exposure:
|
|
|
|
|
|
include: health,info
|
|
|
|
|
|
endpoint:
|
|
|
|
|
|
health:
|
|
|
|
|
|
show-details: always
|
|
|
|
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
|
file:
|
|
|
|
|
|
name: logs/${spring.application.name}.log
|
|
|
|
|
|
pattern:
|
|
|
|
|
|
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒
|