From e639a8f9f12640ffcca69f1a6a0324459924afbd Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 4 Jun 2025 17:26:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96cname=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=EF=BC=8C=E5=BD=93=E6=9C=89=E5=86=B2=E7=AA=81=E7=9A=84?= =?UTF-8?q?cname=E8=AE=B0=E5=BD=95=E6=97=B6=EF=BC=8C=E7=BB=99=E5=87=BA?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/acme-client/types/index.d.ts | 1 + .../cname-record-info.vue | 3 + .../cname-verify-plan.vue | 2 +- .../src/plugin/fast-crud/index.tsx | 8 +- .../src/router/source/modules/certd.ts | 2 +- .../src/views/certd/cname/record/crud.tsx | 34 ++++-- .../src/views/certd/pipeline/crud.tsx | 3 + .../db/migration/v10024__cname_error.sql | 3 + .../src/modules/cname/entity/cname-record.ts | 3 + .../cname/service/cname-record-service.ts | 110 +++++++++++++++--- .../src/modules/sys/authority/entity/user.ts | 4 + 11 files changed, 138 insertions(+), 35 deletions(-) create mode 100644 packages/ui/certd-server/db/migration/v10024__cname_error.sql diff --git a/packages/core/acme-client/types/index.d.ts b/packages/core/acme-client/types/index.d.ts index 6fa941da..4974baa5 100644 --- a/packages/core/acme-client/types/index.d.ts +++ b/packages/core/acme-client/types/index.d.ts @@ -203,6 +203,7 @@ export const agents: any; export function setLogger(fn: (message: any, ...args: any[]) => void): void; export function walkTxtRecord(record: any): Promise; +export function getAuthoritativeDnsResolver(record:string): Promise; export const CancelError: typeof CancelError; diff --git a/packages/ui/certd-client/src/components/plugins/cert/domains-verify-plan-editor/cname-record-info.vue b/packages/ui/certd-client/src/components/plugins/cert/domains-verify-plan-editor/cname-record-info.vue index 3f814dff..1d18a816 100644 --- a/packages/ui/certd-client/src/components/plugins/cert/domains-verify-plan-editor/cname-record-info.vue +++ b/packages/ui/certd-client/src/components/plugins/cert/domains-verify-plan-editor/cname-record-info.vue @@ -13,6 +13,9 @@ + + +