# 外部配置文件,用于覆盖证书路径配置 spring: main: allow-circular-references: true mvc: pathmatch: matching-strategy: ant_path_matcher # 修复Swagger兼容性问题 # 证书配置覆盖 certificate: load-mode: CLASSPATH dev-cert-path: "dev/wechat" # 设置为证书目录的父路径 wechat-pay: cert-dir: "10550" # 设置为具体的商户号目录 dev: private-key-file: "apiclient_key.pem" apiclient-cert-file: "apiclient_cert.pem" wechatpay-cert-file: "wechatpay_cert.pem"