删除冗余的west_domain_get_dns函数

This commit is contained in:
jingrow 2025-08-13 05:17:20 +08:00
parent 2a6e3f0611
commit c36888c0c3

View File

@ -885,20 +885,6 @@ def west_domain_get_info(**data):
return client.get_domain_info(domain)
@jingrow.whitelist()
def west_domain_get_dns(**data):
"""获取域名DNS记录"""
client = get_west_client()
if not client:
return {"status": "error", "message": "API客户端初始化失败"}
domain = data.get('domain')
if not domain:
return {"status": "error", "message": "缺少域名参数"}
return client.get_dns_records(domain)
@jingrow.whitelist()
def get_west_domain_dns_records(**data):
"""获取域名解析记录(支持分页)"""