1、新接textverified
This commit is contained in:
@ -10,11 +10,19 @@ var ExtConfig Extend
|
||||
//
|
||||
// 使用方法: config.ExtConfig......即可!!
|
||||
type Extend struct {
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
TrxGridUrl string
|
||||
CliproxyUrl string //cliproxy服务地址
|
||||
CliproxyApiUrl string //cliproxy api地址
|
||||
DaisysmsUrl string //daisysms服务地址
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
TrxGridUrl string
|
||||
TronApiKey string `yaml:"tronApiKey"`
|
||||
CliproxyUrl string //cliproxy服务地址
|
||||
CliproxyApiUrl string //cliproxy api地址
|
||||
DaisysmsUrl string //daisysms服务地址
|
||||
SmsTextVerified SmsTextVerified `yaml:"smsTextVerified"` //短信验证服务配置
|
||||
}
|
||||
|
||||
type SmsTextVerified struct {
|
||||
Url string `yaml:"url"`
|
||||
UserName string `yaml:"userName"`
|
||||
ApiKey string `yaml:"apiKey"`
|
||||
}
|
||||
|
||||
type AMap struct {
|
||||
|
||||
@ -51,12 +51,19 @@ settings:
|
||||
|
||||
#trx api
|
||||
trxGridUrl: "https://api.trongrid.io"
|
||||
tronApiKey: "223c129e-73f5-470f-9464-f9969846c134"
|
||||
#cliproxy url
|
||||
cliproxyUrl: "https://f.cliproxy.com"
|
||||
cliproxyUrl: "https://f.cliproxy.com"
|
||||
#cliproxy api url
|
||||
cliproxyApiUrl: "https://api.cliproxy.com"
|
||||
#daisysms api url
|
||||
daisysmsUrl: "https://daisysms.com/stubs/handler_api.php"
|
||||
#sms text_verified
|
||||
smsTextVerified:
|
||||
url: "https://www.textverified.com"
|
||||
userName: "webspan@proton.me"
|
||||
apiKey: "ZQ0swXnsaPpeGdwa3c7gT9U9I1Oh9WoDHx0amuYovvaHuqd5u6B4NBBUSUBjR"
|
||||
|
||||
cache:
|
||||
redis:
|
||||
addr: 127.0.0.1:6379
|
||||
|
||||
Reference in New Issue
Block a user