添加打赏支付

This commit is contained in:
kron
2025-09-25 17:07:37 +08:00
parent 91535abfd7
commit f8bc5d094e
3 changed files with 101 additions and 30 deletions

View File

@@ -488,3 +488,13 @@ export const getVIPDescAPI = async () => {
export const getPointBookStatisticsAPI = async () => {
return request("GET", `/v2/user/score/sheet/statistics`);
};
export const donateAPI = async (amount, name, phone, organizer, advice) => {
return request("POST", `/user/donate`, {
amount,
name,
phone,
organizer,
advice,
});
};