From 26e51e132bc9c300e750ff5bb3ec7c9ba1ac1122 Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Fri, 7 Feb 2025 10:11:58 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0AttachService?= =?UTF-8?q?=E4=BB=A5=E8=BF=94=E5=9B=9E=E9=A1=B5=E9=9D=A2=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=92=8CURL=EF=BC=8C=E5=A2=9E=E5=BC=BA=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/attach/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/attach/index.ts b/services/attach/index.ts index 4665b4b..6c6edd1 100644 --- a/services/attach/index.ts +++ b/services/attach/index.ts @@ -163,7 +163,9 @@ class AttachService extends NetToolBase { ) .then((res) => { const { value } = res.data.webPages - return value.map(({ siteName, summary }: any) => ({ + return value.map(({ siteName, summary, name, url }: any) => ({ + pageName: name, + url, siteName, summary, })) as {