【调整】插件支持动态参数和参数类型

【调整】获取证书列表支持状态过滤
【新增】dns提供商腾讯云eo
This commit is contained in:
v-me-50
2025-12-17 15:07:12 +08:00
parent d01b42139c
commit a027bde148
29 changed files with 1318 additions and 892 deletions

View File

@@ -193,20 +193,17 @@ func Restart() {
}
func GetVersion() (map[string]string, error) {
version := "v1.1.1"
version := "v1.1.2"
update := "0"
newVersionObj, err := http.Get("https://download.allinssl.com/version.json")
newVersionObj, err := http.Get("https://allinssl.bt.com/version.json")
if err != nil {
newVersionObj, err = http.Get("https://node1.allinssl.com/version.json")
if err != nil {
return map[string]string{
"version": version,
"new_version": version,
"update": update,
"log": "",
"date": "",
}, nil
}
return map[string]string{
"version": version,
"new_version": version,
"update": update,
"log": "",
"date": "",
}, nil
}
defer newVersionObj.Body.Close()