Files
fishery-back/intc-modules/intc-weixin/src/main/resources/application.yml

43 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 微信对接模块配置
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: