This commit is contained in:
2026-01-14 16:37:52 +08:00
parent e4665b9f6e
commit 857d592ee7
17 changed files with 313 additions and 162 deletions

View File

@@ -24,6 +24,7 @@ type Config struct {
AdminConfig AdminConfig
TaxConfig TaxConfig
Promotion PromotionConfig // 推广链接配置
TencentCloud TencentCloudConfig
}
// JwtAuth 用于 JWT 鉴权配置
@@ -116,3 +117,10 @@ type PromotionConfig struct {
PromotionDomain string // 推广域名(用于生成短链)
OfficialDomain string // 正式站点域名(短链重定向的目标域名)
}
type TencentCloudConfig struct {
SecretId string
SecretKey string
SmsSdkAppId string // 短信应用ID
SignName string // 短信签名
TemplateId string // 短信模板ID
}