修改esa部署和多吉云cdn部署

This commit is contained in:
v-me-50
2025-06-16 18:41:41 +08:00
parent 1d5cd9ca03
commit 426b358d56
3 changed files with 41 additions and 17 deletions

View File

@@ -204,6 +204,9 @@ func GetAccountList(search, ca string, p, limit int64) ([]map[string]interface{}
if ca == "custom" {
whereSql += `and type not in ('Let's Encrypt','buypass', 'google', 'sslcom', 'zerossl')`
} else {
if ca == "letsencrypt" {
ca = "Let's Encrypt"
}
whereSql += " and type=?"
whereArgs = append(whereArgs, ca)
}
@@ -217,6 +220,7 @@ func GetAccountList(search, ca string, p, limit int64) ([]map[string]interface{}
data[i]["ca"] = data[i]["type"]
delete(data[i], "private_key")
delete(data[i], "reg")
delete(data[i], "type")
}
return data, int(count), nil