bonus-ui/src/api/reportCenter/index.js

226 lines
2.7 KiB
JavaScript
Raw Normal View History

2025-04-25 09:10:44 +08:00
import request from '@/utils/request'
// 交易流水
export function reportTradFlowListApi(data) {
return request({
url: '/smart-canteen/report/trade/flow',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 充值方式汇总
export function reportAccRechargeListApi(data) {
return request({
url: '/smart-canteen/report/acc/recharge',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 取款汇总
export function reportAccWithdrawListApi(data) {
return request({
url: '/smart-canteen/report/acc/withdraw',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 营业汇总
export function reportTradeOperatingListApi(data) {
return request({
url: '/smart-canteen/report/trade/revenue/operating',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 食堂档口汇总
export function reportTradeCanteenListApi(data) {
return request({
url: '/smart-canteen/report/trade/revenue/canteen',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 设备汇总
export function reportTradeDeviceListApi(data) {
return request({
url: '/smart-canteen/report/trade/revenue/device',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 个人消费汇总
export function reportTradeUserListApi(data) {
return request({
url: '/smart-canteen/report/trade/revenue/user',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}
// 菜品销售汇总
export function reportTradeGoodsListApi(data) {
return request({
url: '/smart-canteen/report/trade/revenue/goods',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data,
2025-04-29 09:16:37 +08:00
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
2025-04-25 09:10:44 +08:00
})
}