feat: add post buy count
This commit is contained in:
@@ -23,4 +23,7 @@ export const postService = {
|
||||
deletePost(id) {
|
||||
return httpClient.delete(`/admin/posts/${id}`);
|
||||
},
|
||||
sendTo(id, userId) {
|
||||
return httpClient.post(`/admin/posts/${id}/send-to/${userId}`);
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user