修复bug,添加我的积分页面

This commit is contained in:
zhouyanli
2026-08-05 10:55:30 +08:00
parent 466f710b33
commit 81e0ccf574
10 changed files with 1063 additions and 29 deletions

View File

@@ -284,4 +284,26 @@ export const getRevenueList = (data) =>{
// 详情
export const revenueDetails = (data) =>{
return get(`/api/resident/revenueNotice/${data.id}`)
}
// =======积分相关=========
// 获取积分余额
export const getPointsBalance = (data) => {
return get('/api/resident/points/balance', data)
}
// 获取积分商城商品列表
export const getPointsMallList = (data) => {
return get('/api/resident/points/mall/list', data)
}
// 积分兑换
export const postPointsExchange = (data) => {
return post('/api/resident/points/mall/exchange', data)
}
// 获取积分明细列表
export const getPointsRecordList = (data) => {
return get('/api/resident/points/record/list', data)
}
// 获取积分兑换订单列表
export const getPointsOrderList = (data) => {
return get('/api/resident/points/order/list', data)
}