add qygl23t7
This commit is contained in:
@@ -29,6 +29,7 @@ type Config struct {
|
||||
AliPay AliPayConfig `mapstructure:"alipay"`
|
||||
Recharge RechargeConfig `mapstructure:"recharge"`
|
||||
Yushan YushanConfig `mapstructure:"yushan"`
|
||||
TianYanCha TianYanChaConfig `mapstructure:"tianyancha"`
|
||||
Domain DomainConfig `mapstructure:"domain"`
|
||||
}
|
||||
|
||||
@@ -91,8 +92,8 @@ type LoggerConfig struct {
|
||||
UseColor bool `mapstructure:"use_color"` // 是否使用彩色输出
|
||||
UseDaily bool `mapstructure:"use_daily"` // 是否按日分包
|
||||
// 按级别分文件配置
|
||||
EnableLevelSeparation bool `mapstructure:"enable_level_separation"` // 是否启用按级别分文件
|
||||
LevelConfigs map[string]LevelFileConfig `mapstructure:"level_configs"` // 各级别配置
|
||||
EnableLevelSeparation bool `mapstructure:"enable_level_separation"` // 是否启用按级别分文件
|
||||
LevelConfigs map[string]LevelFileConfig `mapstructure:"level_configs"` // 各级别配置
|
||||
}
|
||||
|
||||
// LevelFileConfig 单个级别文件配置
|
||||
@@ -261,7 +262,7 @@ type AuthConfig struct {
|
||||
DefaultAuthMode string `mapstructure:"default_auth_mode"` // 默认认证模式
|
||||
PsnAuthModes []string `mapstructure:"psn_auth_modes"` // 个人可用认证模式
|
||||
WillingnessAuthModes []string `mapstructure:"willingness_auth_modes"` // 意愿认证模式
|
||||
RedirectURL string `mapstructure:"redirect_url"` // 重定向URL
|
||||
RedirectURL string `mapstructure:"redirect_url"` // 重定向URL
|
||||
}
|
||||
|
||||
// SignConfig 签署配置
|
||||
@@ -287,12 +288,12 @@ type WestDexConfig struct {
|
||||
|
||||
// AliPayConfig 支付宝配置
|
||||
type AliPayConfig struct {
|
||||
AppID string `mapstructure:"app_id"`
|
||||
PrivateKey string `mapstructure:"private_key"`
|
||||
AlipayPublicKey string `mapstructure:"alipay_public_key"`
|
||||
IsProduction bool `mapstructure:"is_production"`
|
||||
NotifyURL string `mapstructure:"notify_url"`
|
||||
ReturnURL string `mapstructure:"return_url"`
|
||||
AppID string `mapstructure:"app_id"`
|
||||
PrivateKey string `mapstructure:"private_key"`
|
||||
AlipayPublicKey string `mapstructure:"alipay_public_key"`
|
||||
IsProduction bool `mapstructure:"is_production"`
|
||||
NotifyURL string `mapstructure:"notify_url"`
|
||||
ReturnURL string `mapstructure:"return_url"`
|
||||
}
|
||||
|
||||
// RechargeConfig 充值配置
|
||||
@@ -308,7 +309,13 @@ type YushanConfig struct {
|
||||
AcctID string `mapstructure:"acct_id"`
|
||||
}
|
||||
|
||||
// TianYanChaConfig 天眼查配置
|
||||
type TianYanChaConfig struct {
|
||||
BaseURL string `mapstructure:"base_url"`
|
||||
APIKey string `mapstructure:"api_key"`
|
||||
}
|
||||
|
||||
// DomainConfig 域名配置
|
||||
type DomainConfig struct {
|
||||
API string `mapstructure:"api"` // API域名
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user