mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-07 23:31:10 +08:00
修改ca
This commit is contained in:
@@ -217,6 +217,9 @@ func GetAccountList(search, ca string, p, limit int64) ([]map[string]interface{}
|
||||
return nil, 0, fmt.Errorf("failed to get account list: %w", err)
|
||||
}
|
||||
for i := range data {
|
||||
if data[i]["type"] == "Let's Encrypt" {
|
||||
data[i]["type"] = "letsencrypt"
|
||||
}
|
||||
data[i]["ca"] = data[i]["type"]
|
||||
delete(data[i], "private_key")
|
||||
delete(data[i], "reg")
|
||||
|
||||
Reference in New Issue
Block a user