|
|
@@ -1,110 +0,0 @@
|
|
|
-server:
|
|
|
- port: 8081
|
|
|
- servlet:
|
|
|
- context-path: /api/v1
|
|
|
-
|
|
|
-spring:
|
|
|
- threads:
|
|
|
- virtual:
|
|
|
- enabled: true
|
|
|
- application:
|
|
|
- name: payment-platform
|
|
|
- profiles:
|
|
|
- active: dev
|
|
|
-
|
|
|
- datasource:
|
|
|
- type: com.alibaba.druid.pool.DruidDataSource
|
|
|
- druid:
|
|
|
- driver-class-name: org.postgresql.Driver
|
|
|
- url: jdbc:postgresql://47.94.88.244:5432/payment_platform_prod?currentSchema=public
|
|
|
- username: admin
|
|
|
- password: 'xjz#123321'
|
|
|
- initial-size: 5
|
|
|
- min-idle: 5
|
|
|
- max-active: 20
|
|
|
- max-wait: 60000
|
|
|
- validation-query: SELECT 1
|
|
|
- test-while-idle: true
|
|
|
- test-on-borrow: false
|
|
|
- test-on-return: false
|
|
|
-
|
|
|
- data:
|
|
|
- redis:
|
|
|
- host: 47.94.88.244
|
|
|
- port: 6379
|
|
|
- database: 1
|
|
|
- password: '123456#xjz'
|
|
|
- timeout: 10s
|
|
|
- lettuce:
|
|
|
- pool:
|
|
|
- max-active: 20
|
|
|
- max-idle: 10
|
|
|
- min-idle: 5
|
|
|
-
|
|
|
-mybatis-plus:
|
|
|
- mapper-locations: classpath*:/mapper/**/*.xml
|
|
|
- type-aliases-package: com.payment.platform.module
|
|
|
- configuration:
|
|
|
- map-underscore-to-camel-case: true
|
|
|
- log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
|
|
-
|
|
|
-# JWT
|
|
|
-jwt:
|
|
|
- secret: vgb0tnl9d58+6n-6h-ea&u^1#0sccp!794=krylxcjq75vzps$
|
|
|
- algorithm: HmacSHA256
|
|
|
- access-token-expire: 3600
|
|
|
- refresh-token-expire: 7200
|
|
|
- token-type: bearer
|
|
|
- sliding-expire: true
|
|
|
-
|
|
|
-# 验证码
|
|
|
-captcha:
|
|
|
- enable: true
|
|
|
- expire-seconds: 60
|
|
|
-
|
|
|
-# Knife4j
|
|
|
-springdoc:
|
|
|
- swagger-ui:
|
|
|
- path: /swagger-ui.html
|
|
|
- api-docs:
|
|
|
- path: /v3/api-docs
|
|
|
-
|
|
|
-knife4j:
|
|
|
- enable: true
|
|
|
- setting:
|
|
|
- language: zh_cn
|
|
|
-
|
|
|
-# Quartz
|
|
|
-spring.quartz:
|
|
|
- job-store-type: memory
|
|
|
- properties:
|
|
|
- org.quartz.scheduler.instanceName: PaymentScheduler
|
|
|
- org.quartz.threadPool.threadCount: 10
|
|
|
-
|
|
|
-# Alipay
|
|
|
-alipay:
|
|
|
- app-id: ""
|
|
|
- app-private-key: ""
|
|
|
- alipay-public-key: ""
|
|
|
- server-url: https://openapi.alipay.com/gateway.do
|
|
|
- format: JSON
|
|
|
- charset: UTF-8
|
|
|
- sign-type: RSA2
|
|
|
- sandbox: false
|
|
|
- notify-url: ""
|
|
|
- return-url: ""
|
|
|
- max-retries: 3
|
|
|
- request-timeout: 30
|
|
|
- rate-limit: 100
|
|
|
-
|
|
|
-# File upload
|
|
|
-file:
|
|
|
- upload-path: static/upload
|
|
|
- allowed-extensions: .gif,.jpg,.jpeg,.png,.ico,.svg,.xls,.xlsx
|
|
|
- max-size: 10485760
|
|
|
-
|
|
|
-# Logging
|
|
|
-logging:
|
|
|
- level:
|
|
|
- com.payment.platform: debug
|
|
|
- org.springframework.security: info
|