feat:增加博客统计模块
This commit is contained in:
@@ -10,6 +10,12 @@ export const queryBlogApi = (currentPage: number, pageSize: number): Promise<IPa
|
||||
params: { currentPage, pageSize }
|
||||
})
|
||||
|
||||
export const queryUnapprovedBlogApi = (): Promise<IBlog[]> =>
|
||||
cloudService({
|
||||
url: '/blog-api/blog/unapproved',
|
||||
method: 'get'
|
||||
})
|
||||
|
||||
export const queryBlogByIdApi = (id: number): Promise<IBlog> =>
|
||||
cloudService({
|
||||
url: `/blog-api/blog/${id}/content`,
|
||||
|
||||
Reference in New Issue
Block a user