You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
624 B
11 lines
624 B
6 months ago
|
package config
|
||
|
|
||
|
type Paypal struct {
|
||
|
Env string `mapstructure:"env" json:"env" yaml:"env"` //端点
|
||
|
ClientID string `mapstructure:"client-id" json:"client-id" yaml:"client-id"` //用户ID
|
||
|
Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` //密钥
|
||
|
ReturnUrl string `mapstructure:"return-url" json:"return-url" yaml:"return-url"` //支付完成跳转
|
||
|
CancelUrl string `mapstructure:"cancel-url" json:"cancel-url" yaml:"cancel-url"` //取消支付跳转
|
||
|
NotifyUrl string `mapstructure:"notify-url" json:"notify-url" yaml:"notify-url"` // 支付结果通知
|
||
|
}
|