From c36888c0c3d26d81e87994ff8bfe9f2267105205 Mon Sep 17 00:00:00 2001 From: jingrow Date: Wed, 13 Aug 2025 05:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E7=9A=84we?= =?UTF-8?q?st=5Fdomain=5Fget=5Fdns=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jcloud/api/domain_west.py | 14 -------------- 1 file changed, 14 deletions(-) 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): """获取域名解析记录(支持分页)"""