xiugai
parent
2e651ca330
commit
0a66dfa6f3
@ -1,7 +0,0 @@
|
||||
package config
|
||||
|
||||
type Alipay struct {
|
||||
AppId string `yaml:"app-id"`
|
||||
PrivateKey string `yaml:"private-key"`
|
||||
AliPublicKey string `yaml:"ali-public-key"`
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
package config
|
||||
|
||||
type Payment struct {
|
||||
BaseUrl string
|
||||
AppKey string
|
||||
SignKey string
|
||||
WxPay WxPay
|
||||
BaseUrl string `yaml:"base-url"`
|
||||
ApiKey string `yaml:"api-key"`
|
||||
SignKey string `yaml:"sign-key"`
|
||||
WxPay WxPay `yaml:"wx-pay"`
|
||||
}
|
||||
|
||||
type WxPay struct {
|
||||
SubAppId string
|
||||
SubAppSecret string
|
||||
SubAppId string `yaml:"sub-app-id"`
|
||||
SubAppSecret string `yaml:"sub-app-secret"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue