增加 注册 页面,sorry页面,修改部分bug

This commit is contained in:
simple321vip
2022-10-25 08:51:12 +08:00
parent 4e49cb87a2
commit 01652a527d
8 changed files with 341 additions and 74 deletions
+10 -1
View File
@@ -39,6 +39,15 @@ const removeBlogType = (data: Object) => {
})
}
const sortBlogTypes = (data: Object) => {
return service({
url: '/auth/api/v1/author/blog_types',
method: 'POST',
headers: headers,
data: data
})
}
const getContent = (id: string) => {
return service({
url: '/auth/api/v1/author/blog/content/' + id,
@@ -74,4 +83,4 @@ const deleteContent = (bid: string) => {
}
export { listAll, updateBtName, putBlogType, removeBlogType, getContent, putBlog, updateContent, deleteContent }
export { listAll, updateBtName, putBlogType, removeBlogType, sortBlogTypes, getContent, putBlog, updateContent, deleteContent }