feat: 更新AttachService以返回页面名称和URL,增强搜索结果结构
This commit is contained in:
parent
266eb89c5a
commit
26e51e132b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user