feat: 添加作品购买人列表功能
Some checks failed
build quyun / Build (push) Failing after 1m26s

This commit is contained in:
2025-12-20 23:09:01 +08:00
parent e2be734b82
commit 65d40fa631
8 changed files with 223 additions and 7 deletions

View File

@@ -26,4 +26,9 @@ export const postService = {
sendTo(id, userId) {
return httpClient.post(`/posts/${id}/send-to/${userId}`);
},
}
getBuyers(id, { page = 1, limit = 10 } = {}) {
return httpClient.get(`/posts/${id}/buyers`, {
params: { page, limit }
});
},
}