temp
This commit is contained in:
@@ -22,6 +22,7 @@ type Config struct {
|
||||
SystemConfig SystemConfig
|
||||
AdminConfig AdminConfig
|
||||
AdminPromotion AdminPromotion
|
||||
CleanTask CleanTask
|
||||
}
|
||||
|
||||
// JwtAuth 用于 JWT 鉴权配置
|
||||
@@ -43,6 +44,7 @@ type Encrypt struct {
|
||||
}
|
||||
|
||||
type AlipayConfig struct {
|
||||
Enabled bool
|
||||
AppID string
|
||||
PrivateKey string
|
||||
AlipayPublicKey string
|
||||
@@ -51,6 +53,7 @@ type AlipayConfig struct {
|
||||
ReturnURL string
|
||||
}
|
||||
type WxpayConfig struct {
|
||||
Enabled bool
|
||||
AppID string
|
||||
AppSecret string
|
||||
MchID string
|
||||
@@ -64,6 +67,7 @@ type AliConfig struct {
|
||||
Code string
|
||||
}
|
||||
type ApplepayConfig struct {
|
||||
Enabled bool
|
||||
ProductionVerifyURL string
|
||||
SandboxVerifyURL string // 沙盒环境的验证 URL
|
||||
Sandbox bool
|
||||
@@ -100,3 +104,8 @@ type AdminConfig struct {
|
||||
type AdminPromotion struct {
|
||||
URLDomain string
|
||||
}
|
||||
type CleanTask struct {
|
||||
Enabled bool
|
||||
Time string
|
||||
Days int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user