diff --git a/src/api/lottery.js b/src/api/lottery.js index e737c6a..1f4fd67 100644 --- a/src/api/lottery.js +++ b/src/api/lottery.js @@ -128,3 +128,15 @@ export const withdrawableAmount = async () => { throw error } } + +// 查询提现记录 +export const withdrawRecords = async () => { + try { + const response = await get(`/activity/lottery/withdraw/records`) + return response + } catch (error) { + console.error('Failed to fetch get my withdraw records:', error) + console.error('error:' + error.response.errorMsg) + throw error + } +} diff --git a/src/views/Wallet/CashOut/Details.vue b/src/views/Wallet/CashOut/Details.vue index 9b72334..f18f08c 100644 --- a/src/views/Wallet/CashOut/Details.vue +++ b/src/views/Wallet/CashOut/Details.vue @@ -9,7 +9,7 @@