server: port: 8001 servlet: context-path: /api/v1 spring: threads: virtual: enabled: true application: name: payment-platform profiles: active: dev servlet: multipart: max-file-size: 10MB max-request-size: 20MB jackson: time-zone: Asia/Shanghai datasource: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: org.postgresql.Driver url: jdbc:postgresql://localhost:5432/payment_platform_java?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: localhost 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#1sccp!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 # Alipay(仅作 fallback — 正常运行时使用 pay_service_provider 表配置) 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 # Alibaba Cloud (OSS等) alibaba-cloud: access-key-id: LTAI5t5jHkQMY2T7V5n4ofMr access-key-secret: RYaofbQBRc93LC1oxCbgJGTVMCzNW4 # File upload (OSS) file: upload-path: static/upload allowed-extensions: .gif,.jpg,.jpeg,.png,.ico,.svg,.xls,.xlsx,.pdf,.doc,.docx max-size: 10485760 # Aliyun OSS aliyun: oss: endpoint: "oss-cn-beijing.aliyuncs.com" bucket: "hunanxiaojunzioss" access-key-id: "LTAI5t5jHkQMY2T7V5n4ofMr" access-key-secret: "RYaofbQBRc93LC1oxCbgJGTVMCzNW4" custom-domain: "" # Logging logging: file: path: ./logs level: com.payment.platform: info org.springframework.security: info