From 710e1fc278ff34b4430f6f0987da11982b0321b6 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 29 Jun 2025 19:38:44 +0800 Subject: [PATCH] chore: --- .../plugin-aliyun/plugin/deploy-to-waf/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/ui/certd-server/src/plugins/plugin-aliyun/plugin/deploy-to-waf/index.ts b/packages/ui/certd-server/src/plugins/plugin-aliyun/plugin/deploy-to-waf/index.ts index e3ffbff4..1c758048 100644 --- a/packages/ui/certd-server/src/plugins/plugin-aliyun/plugin/deploy-to-waf/index.ts +++ b/packages/ui/certd-server/src/plugins/plugin-aliyun/plugin/deploy-to-waf/index.ts @@ -194,6 +194,7 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin { if (!res?.Domains || res?.Domains.length === 0) { throw new Error('没有找到CNAME接入的域名站点'); } + const total = res.TotalCount; const options = res.Domains.map((item: any) => { return { @@ -203,7 +204,14 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin { domain: item.Domain, }; }); - return this.ctx.utils.options.buildGroupOptions(options, this.certDomains); + const list= this.ctx.utils.options.buildGroupOptions(options, this.certDomains); + + return { + list, + total: total, + offset: pager.offset, + limit: pager.limit + }; } }