1、
This commit is contained in:
@ -16,11 +16,11 @@ type Extend struct {
|
||||
EmailConfig EmailConfig `mapstructure:"emailConfig"`
|
||||
BinanceSet BinanceConfig `mapstructure:"binanceSet"` //binance配置
|
||||
Domain string //网站域名
|
||||
GoToneSmsConfig GoToneSmsConfig `mapstructure:"GoToneSmsConfig"`
|
||||
UDunConfig UDunConfig `mapstructure:"UDunConfig"`
|
||||
ProxyUrl string //代理地址
|
||||
CoinGate CoinGateConfig `mapstructure:"coingate"` //coingate钱包
|
||||
|
||||
GoToneSmsConfig GoToneSmsConfig `mapstructure:"GoToneSmsConfig"`
|
||||
InnoPaas InnoPaasConfig `mapstructure:"innoPaas"` //创蓝短信
|
||||
}
|
||||
|
||||
type CoinGateConfig struct {
|
||||
@ -70,6 +70,12 @@ type GoToneSmsConfig struct {
|
||||
Authorization string `json:"authorization"`
|
||||
}
|
||||
|
||||
type InnoPaasConfig struct {
|
||||
Url string `json:"url"`
|
||||
ApiKey string `json:"apiKey"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type UDunConfig struct {
|
||||
UDunUrl string `json:"UDunUrl"`
|
||||
UDunMerchantID string `json:"UDunMerchantID"`
|
||||
|
||||
@ -11,7 +11,7 @@ settings:
|
||||
readtimeout: 1
|
||||
writertimeout: 2
|
||||
# 数据权限功能开关
|
||||
enabledp: false
|
||||
enabledp: true
|
||||
logger:
|
||||
# 日志存放路径
|
||||
path: temp/logs
|
||||
@ -82,6 +82,10 @@ settings:
|
||||
sender_id: "GoTone SMS"
|
||||
api_endpoint: "https://gosms.one/api/v3/sms/send"
|
||||
authorization: "CVZgh3iIAQpJuvaakQmxOo9q2uOb7Veqs7ls5KIX263d87ee"
|
||||
InnoPaas:
|
||||
url: "http://intapi.sgap.253.com"
|
||||
apiKey: "OI1706483"
|
||||
password: "N4R84hhVvP6505"
|
||||
|
||||
#UDun 配置
|
||||
UDunConfig:
|
||||
|
||||
Reference in New Issue
Block a user