This commit is contained in:
2025-08-16 13:06:51 +08:00
parent fb30503997
commit 053a302c80
4 changed files with 24 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ type Config struct {
AdminPromotion AdminPromotion
CleanTask CleanTask
Tianyuanapi TianyuanapiConfig
VerifyConfig VerifyConfig
}
// JwtAuth 用于 JWT 鉴权配置
@@ -112,3 +113,6 @@ type TianyuanapiConfig struct {
BaseURL string
Timeout int64
}
type VerifyConfig struct {
TwoFactor bool
}