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:
@@ -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()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 查询站点统计信息
|
||||
|
||||
Reference in New Issue
Block a user