refactor(zone): remove legacy route domain storage

第二阶段清理:删除 of_managed_domains 与 of_proxy_routes 冗余域名/证书列,
移除 ManagedDomain 模型与 API、路由侧 legacy 字段维护,以及前端 WebsiteService。
ImportLegacy 在旧列/旧表缺失时跳过对应源,保持幂等。
This commit is contained in:
ryan
2026-07-12 15:31:01 +08:00
parent fb3dd5afe6
commit 5b52acdd6c
26 changed files with 272 additions and 915 deletions
-83
View File
@@ -14404,32 +14404,6 @@ const docTemplate = `{
}
}
},
"model.ManagedDomain": {
"type": "object",
"properties": {
"cert_id": {
"type": "integer"
},
"created_at": {
"type": "string"
},
"domain": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"remark": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"model.OpenFlareApplyLog": {
"type": "object",
"properties": {
@@ -17959,63 +17933,6 @@ const docTemplate = `{
}
}
},
"tls.ManagedDomainInput": {
"type": "object",
"properties": {
"cert_id": {
"type": "integer"
},
"domain": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"remark": {
"type": "string"
}
}
},
"tls.ManagedDomainMatchCandidate": {
"type": "object",
"properties": {
"certificate_id": {
"type": "integer"
},
"certificate_name": {
"type": "string"
},
"domain": {
"type": "string"
},
"managed_domain_id": {
"type": "integer"
},
"match_type": {
"type": "string"
}
}
},
"tls.ManagedDomainMatchResult": {
"type": "object",
"properties": {
"candidate": {
"$ref": "#/definitions/tls.ManagedDomainMatchCandidate"
},
"candidates": {
"type": "array",
"items": {
"$ref": "#/definitions/tls.ManagedDomainMatchCandidate"
}
},
"domain": {
"type": "string"
},
"matched": {
"type": "boolean"
}
}
},
"updater.Status": {
"type": "object",
"properties": {