接入阿里云二要素
This commit is contained in:
@@ -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域名
|
||||
|
||||
Reference in New Issue
Block a user