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}`);
|
||||
},
|
||||
}
|
||||
@@ -10,6 +10,9 @@ export const userService = {
|
||||
}
|
||||
});
|
||||
},
|
||||
searchUser(id) {
|
||||
return httpClient.get(`/admin/users/${id}`);
|
||||
},
|
||||
getUser(id) {
|
||||
return httpClient.get(`/admin/users/${id}`);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user