new
This commit is contained in:
@@ -11,6 +11,7 @@ type Config struct {
|
||||
CacheRedis cache.CacheConf // 缓存配置,使用 go-zero 自带的缓存配置结构体
|
||||
Alipay AlipayConfig
|
||||
TopUp TopUpConfig
|
||||
UserRpc zrpc.RpcClientConf
|
||||
}
|
||||
type AlipayConfig struct {
|
||||
AppID string
|
||||
@@ -20,4 +21,7 @@ type AlipayConfig struct {
|
||||
}
|
||||
type TopUpConfig struct {
|
||||
MaxTopUpAmount int64
|
||||
Subject string
|
||||
NotifyURL string
|
||||
ReturnURL string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user