红包逻辑需要重构

This commit is contained in:
cbb
2026-01-16 17:57:43 +08:00
parent 5f9629f198
commit f0aee6ba14
16 changed files with 335 additions and 45 deletions

View File

@@ -59,6 +59,22 @@ export const receiveRedEnvelope = data => {
})
}
/**
* 获取红包详情
* status 1:进行中,2:已领完,3:已过期,4:已撤销
* receivedCount 已领取红包个数
* receivedAmount 已领取红包金额
* hasReceived 当前用户是否已领取
* receiveList 领取列表
* luckyReceive 手气最佳
*/
export const getRedEnvelopeDetail = id => {
return http({
url: `/api/system/pointsRedPacket/${id}`,
method: 'get'
})
}
/**
* 新增/修改主播
* @param {*} data