package config type Wechat struct { AppId string `mapstructure:"app-id" json:"app-id" yaml:"patient-app-id"` AppSecret string `mapstructure:"app-secret" json:"app-secret" yaml:"app-secret"` PayNotifyUrl string `mapstructure:"pay-notify-url" json:"pay-notify-url" yaml:"pay-notify-url"` RefundNotifyDomain string `mapstructure:"refund-notify-domain" json:"refund-notify-domain" yaml:"refund-notify-domain"` // 回调域名 RefundNotifyUrl string `mapstructure:"refund-notify-url" json:"refund-notify-url" yaml:"refund-notify-url"` Pay1281030301 Pay1281030301 `mapstructure:"pay-1281030301" json:"pay-1281030301" yaml:"pay-1281030301"` } // Pay1281030301 app type Pay1281030301 struct { MchId string `mapstructure:"mch-id" json:"mch-id" yaml:"mch-id"` // 商户号 V3ApiSecret string `mapstructure:"v3-api-secret" json:"v3-api-secret" yaml:"v3-api-secret"` // 商户APIv3密钥 MchCertificateSerialNumber string `mapstructure:"mch-certificate-serial-number" json:"mch-certificate-serial-number" yaml:"mch-certificate-serial-number"` // 商户证书序列号 PlatformCerts string `mapstructure:"platform-certs" json:"platform-certs" yaml:"platform-certs"` // 平台证书 PrivateKey string `mapstructure:"private-key" json:"private-key" yaml:"private-key"` Certificate string `mapstructure:"certificate" json:"certificate" yaml:"certificate"` }