13 lines
860 B
Go
13 lines
860 B
Go
package config
|
|
|
|
// WechatPay 微信支付
|
|
type WechatPay struct {
|
|
MchId string `mapstructure:"mch-id" json:"mch-id" yaml:"mch-id"`
|
|
PublicKeyId string `mapstructure:"public-key-id" json:"public-key-id" yaml:"public-key-id"`
|
|
MchCertificateSerialNumber string `mapstructure:"mch-certificate-serial-number" json:"mch-certificate-serial-number" yaml:"mch-certificate-serial-number"`
|
|
MchAPIv3Key string `mapstructure:"mch-api-v3-key" json:"mch-api-v3-key" yaml:"mch-api-v3-key"`
|
|
PrivateKeyPath string `mapstructure:"private-key-path" json:"private-key-path" yaml:"private-key-path"`
|
|
PublicKeyPath string `mapstructure:"public-key-path" json:"public-key-path" yaml:"public-key-path"`
|
|
NotifyUrl string `mapstructure:"notify-url" json:"notify-url" yaml:"notify-url"`
|
|
}
|