This commit is contained in:
2025-08-13 19:15:06 +08:00
parent 2074215180
commit aa2e2b9195
7 changed files with 765 additions and 300 deletions

View File

@@ -19,10 +19,10 @@ type Config struct {
WestConfig WestConfig
YushanConfig YushanConfig
TianjuConfig TianjuConfig
SystemConfig SystemConfig
AdminConfig AdminConfig
AdminPromotion AdminPromotion
CleanTask CleanTask
Tianyuanapi TianyuanapiConfig
}
// JwtAuth 用于 JWT 鉴权配置
@@ -91,9 +91,6 @@ type TianjuConfig struct {
ApiKey string
BaseURL string
}
type SystemConfig struct {
ThreeVerify bool
}
type AdminConfig struct {
AccessSecret string
@@ -109,3 +106,9 @@ type CleanTask struct {
Time string
Days int
}
type TianyuanapiConfig struct {
AccessID string
Key string
BaseURL string
Timeout int64
}