diff --git a/jcloud/api/domain_west.py b/jcloud/api/domain_west.py index 6866408..88477ff 100644 --- a/jcloud/api/domain_west.py +++ b/jcloud/api/domain_west.py @@ -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): """获取域名解析记录(支持分页)"""