f
This commit is contained in:
@@ -265,7 +265,7 @@ type SMSConfig struct {
|
||||
type TencentSMSConfig struct {
|
||||
SecretId string `mapstructure:"secret_id"`
|
||||
SecretKey string `mapstructure:"secret_key"`
|
||||
Region string `mapstructure:"region"` // 如 ap-guangzhou,可空则默认 ap-guangzhou
|
||||
Region string `mapstructure:"region"` // 如 ap-guangzhou,可空则默认 ap-guangzhou
|
||||
Endpoint string `mapstructure:"endpoint"` // 可空,默认 sms.tencentcloudapi.com
|
||||
SmsSdkAppId string `mapstructure:"sms_sdk_app_id"` // SdkAppId
|
||||
SignName string `mapstructure:"sign_name"`
|
||||
@@ -494,12 +494,17 @@ type MuziLevelFileConfig struct {
|
||||
|
||||
// AliPayConfig 支付宝配置
|
||||
type AliPayConfig struct {
|
||||
AppID string `mapstructure:"app_id"`
|
||||
PrivateKey string `mapstructure:"private_key"`
|
||||
AlipayPublicKey string `mapstructure:"alipay_public_key"`
|
||||
IsProduction bool `mapstructure:"is_production"`
|
||||
NotifyURL string `mapstructure:"notify_url"`
|
||||
ReturnURL string `mapstructure:"return_url"`
|
||||
Mode string `mapstructure:"mode"`
|
||||
AppID string `mapstructure:"app_id"`
|
||||
PrivateKey string `mapstructure:"private_key"`
|
||||
AlipayPublicKey string `mapstructure:"alipay_public_key"`
|
||||
AppCertPath string `mapstructure:"app_cert_path"`
|
||||
AlipayCertPath string `mapstructure:"alipay_cert_path"`
|
||||
AlipayRootCertPath string `mapstructure:"alipay_root_cert_path"`
|
||||
EncryptKey string `mapstructure:"encrypt_key"`
|
||||
IsProduction bool `mapstructure:"is_production"`
|
||||
NotifyURL string `mapstructure:"notify_url"`
|
||||
ReturnURL string `mapstructure:"return_url"`
|
||||
}
|
||||
|
||||
// WxpayConfig 微信支付配置
|
||||
|
||||
Reference in New Issue
Block a user