feat: 更新AttachService以返回页面名称和URL,增强搜索结果结构

This commit is contained in:
zhaoyingbo 2025-02-07 10:11:58 +00:00
parent 266eb89c5a
commit 26e51e132b

View File

@ -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 {