add dashboard component

This commit is contained in:
simple321vip
2023-01-28 21:41:11 +08:00
parent a45f360006
commit 98c45b3591
13 changed files with 774 additions and 90 deletions
+20 -1
View File
@@ -92,5 +92,24 @@ const sortBlogs = (data: Object, btId: string) => {
})
}
const countBlogs = () => {
return service({
url: '/wiki/api/v1/author/blogs/count',
method: 'GET',
headers: headers,
})
}
export { listAll, updateBtName, putBlogType, removeBlogType, sortBlogTypes, getContent, putBlog, updateContent, deleteContent, sortBlogs }
export {
listAll,
updateBtName,
putBlogType,
removeBlogType,
sortBlogTypes,
getContent,
putBlog,
updateContent,
deleteContent,
sortBlogs,
countBlogs
}