1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 12:49:30 +08:00

feat: 内容搜索支持显示文章和瞬间、瞬间支持跳转详情

This commit is contained in:
小莫唐尼
2025-07-22 00:07:57 +08:00
parent 3a08008192
commit eac027c116
5 changed files with 600 additions and 185 deletions
+12
View File
@@ -114,6 +114,18 @@ export default {
}
})
},
/**
* 获取瞬间详情
* @param {String} name 瞬间id
*/
getMomentByName: (name) => {
return HttpHandler.Get(`/apis/moment.halo.run/v1alpha1/moments/${name}`, {}, {
custom: {
personalToken: getPersonalToken()
}
})
},
/**
* 查询站点统计信息