feat: complete wechat pay

This commit is contained in:
Rogee
2025-04-30 19:26:53 +08:00
parent 11288471d4
commit 67d6f3ec33
10 changed files with 44 additions and 21 deletions

View File

@@ -26,6 +26,6 @@ export const postApi = {
});
},
buy(id) {
return client.post(`/posts/buy/${id}`);
return client.post(`/posts/${id}/buy`);
}
}