feat: add toolbox query, upload module, update config and gitignore
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,7 +24,8 @@ type Config struct {
|
||||
Query QueryConfig
|
||||
AdminConfig AdminConfig
|
||||
TaxConfig TaxConfig
|
||||
Promotion PromotionConfig // 推广链接配置
|
||||
Promotion PromotionConfig // 推广链接配置
|
||||
Tianxingjuhe TianxingjuheConfig // 天行聚合API配置
|
||||
}
|
||||
|
||||
// JwtAuth 用于 JWT 鉴权配置
|
||||
@@ -126,3 +127,10 @@ type PromotionConfig struct {
|
||||
PromotionDomain string // 推广域名(用于生成短链)
|
||||
OfficialDomain string // 正式站点域名(短链重定向的目标域名)
|
||||
}
|
||||
|
||||
// TianxingjuheConfig 天行聚合API配置
|
||||
type TianxingjuheConfig struct {
|
||||
URL string // API基础URL
|
||||
Key string // API密钥
|
||||
Timeout int // 超时时间(秒),默认30秒
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user