diff --git a/api/activity.js b/api/activity.js index c2e01e0..4daff22 100644 --- a/api/activity.js +++ b/api/activity.js @@ -280,7 +280,12 @@ export function storeActivityStatus(data) { return request.get(`storeActivity/status`, data); } -// 拉新红包活动完成状态 +// 领取红包 export function storeActivityReceive(data) { return request.post(`storeActivity/receive`, data); } + +// 拉新红包活动完成状态 +export function storeActivityRecord(data) { + return request.get(`storeActivity/record`, data); +} diff --git a/pages/newActivity/subsidy/subsidy.vue b/pages/newActivity/subsidy/subsidy.vue index d425e33..efe3a15 100644 --- a/pages/newActivity/subsidy/subsidy.vue +++ b/pages/newActivity/subsidy/subsidy.vue @@ -2,25 +2,25 @@ - - + + - 总计获得 580 元补贴红包 + 总计获得 {{total_amount}} 元补贴红包 - + 消费金额 补贴金额 - 红包获得时间 + 红包获得时间 - - 200 - 110 - 2024-01-20 + + {{item.order_amount}} + {{item.coupon_price}} + {{item.create_time}} - 暂无记录 + {{'暂无记录, 去消费领补贴 >>'}} @@ -28,22 +28,35 @@