This commit is contained in:
simple321vip
2022-08-22 21:54:15 +08:00
parent 8d9872b896
commit 98fb990a34
3 changed files with 33 additions and 5 deletions
+16 -1
View File
@@ -32,4 +32,19 @@ const getBlog = (bid: string) => {
})
}
export { getBlogs, getBlog, getBtName }
const publishAll = () => {
return request({
url: '/auth/api/v1/reader/blogs/publish/all',
method: 'GET'
})
}
const publish = (bid: string) => {
return request({
url: '/auth/api/v1/reader/blogs/publish/' + bid,
method: 'GET'
})
}
export { getBlogs, getBlog, getBtName, publish, publishAll }