# 微信对接模块配置 wx: # 微信公众号配置 mp: # 公众号appId(必填) app-id: wx1234567890abcdef # 公众号Secret(必填) secret: your_mp_secret_here_32_characters # 公众号token(选填,用于消息加解密) token: your_token_here # 公众号EncodingAESKey(选填,用于消息加解密) aes-key: your_aes_key_here_43_characters_base64 # 微信小程序配置 miniapp: # 小程序appId(必填) app-id: wx0987654321fedcba # 小程序Secret(必填) secret: your_miniapp_secret_here_32_chars # 小程序token(选填,用于消息加解密) token: your_miniapp_token # 小程序EncodingAESKey(选填,用于消息加解密) aes-key: your_miniapp_aes_key_43_characters_b64 # 消息格式,XML或者JSON msg-data-format: JSON # 微信支付配置 pay: # 商户号(必填) mch-id: 1234567890 # 商户密钥(V2版本必填) mch-key: your_mch_key_here_32_characters_md5 # 证书路径(退款等操作需要,选填) key-path: classpath:cert/apiclient_cert.p12 # apiV3秘钥(V3版本必填) api-v3-key: your_api_v3_key_here_32_characters # 证书序列号(V3版本必填) cert-serial-no: 1234567890ABCDEF1234567890ABCDEF12345678 # 私钥路径(V3版本选填) private-key-path: classpath:cert/apiclient_key.pem # 私钥内容(V3版本选填,与private-key-path二选一) private-content: