feat:增加博客统计模块

This commit is contained in:
2025-10-27 15:03:24 +08:00
parent 4d52c2ae82
commit 1ba0e6c40b
9 changed files with 375 additions and 8 deletions

View File

@@ -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`,