This commit is contained in:
2025-05-27 18:35:01 +08:00
parent ca66cc91d4
commit 79e1ba2616
115 changed files with 22039 additions and 1045 deletions

View File

@@ -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
}