mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-11 20:59:30 +08:00
release: 发布 uni-halo beta-v2.0 版本
This commit is contained in:
+4
-4
@@ -16,11 +16,11 @@ export default {
|
||||
|
||||
/**
|
||||
* 获取评论列表接口(列表数据)
|
||||
* @param {String} postId 文章id
|
||||
* @param {String} name 文章id
|
||||
* @param {Object} params 查询参数
|
||||
*/
|
||||
getPostCommentList: (postId, params) => {
|
||||
return HttpHandler.Get(`/api/content/posts/${postId}/comments/list_view`, params)
|
||||
getPostCommentList: (name, params) => {
|
||||
return HttpHandler.Get(`/apis/content.halo.run/v1alpha1/comments${name}`, params)
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -42,4 +42,4 @@ export default {
|
||||
getPostChildrenCommentList: (postId, commentParentId, params) => {
|
||||
return HttpHandler.Get(`/api/content/posts/${postId}/comments/${commentParentId}/children`, params)
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user