接入阿里云二要素

This commit is contained in:
2025-08-04 17:16:38 +08:00
parent bce55a3bb2
commit f482f0a6e8
15 changed files with 1012 additions and 100 deletions

View File

@@ -30,6 +30,7 @@ type Config struct {
AliPay AliPayConfig `mapstructure:"alipay"`
Yushan YushanConfig `mapstructure:"yushan"`
TianYanCha TianYanChaConfig `mapstructure:"tianyancha"`
Alicloud AlicloudConfig `mapstructure:"alicloud"`
}
// ServerConfig HTTP服务器配置
@@ -329,6 +330,11 @@ type TianYanChaConfig struct {
APIKey string `mapstructure:"api_key"`
}
type AlicloudConfig struct {
Host string `mapstructure:"host"`
AppCode string `mapstructure:"app_code"`
}
// DomainConfig 域名配置
type DomainConfig struct {
API string `mapstructure:"api"` // API域名