| | |
| | | }); |
| | | } |
| | | |
| | | /** 同步订单 GET /api/LifePay/GetAllChannlesRake */ |
| | | /** 同步订单分佣信息 GET /api/LifePay/GetAllChannlesRake */ |
| | | export async function getAllChannlesRake(options?: API.RequestConfig) { |
| | | return request<any>('/api/LifePay/GetAllChannlesRake', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 统计交易流水 GET /api/LifePay/GetAllLifePayConsumption */ |
| | | export async function getAllLifePayConsumption(options?: API.RequestConfig) { |
| | | return request<any>('/api/LifePay/GetAllLifePayConsumption', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 渠道数据 POST /api/LifePay/GetChannelDataList */ |
| | | export async function getChannelDataList( |
| | | body: API.TopStatisticsInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ChannelDataListOutPut>('/api/LifePay/GetChannelDataList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取渠道折扣 POST /api/LifePay/GetChannelRate */ |
| | | export async function getChannelRate(body: API.ChannelsBaseInput, options?: API.RequestConfig) { |
| | | return request<API.ChannelRateOutput>('/api/LifePay/GetChannelRate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 30日佣金列表 POST /api/LifePay/GetChannlesRakeList */ |
| | | export async function getChannlesRakeList( |
| | | body: API.TopStatisticsInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ChannlesRakeListOutPut>('/api/LifePay/GetChannlesRakeList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取全部缴费渠道 GET /api/LifePay/GetLifePayChannlesAllList */ |
| | | export async function getLifePayChannlesAllList(options?: API.RequestConfig) { |
| | | /** 获取全部缴费渠道 POST /api/LifePay/GetLifePayChannlesAllList */ |
| | | export async function getLifePayChannlesAllList( |
| | | body: API.QueryLifePayChannlesInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { |
| | | method: 'GET', |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取消费流水分页数据 POST /api/LifePay/GetLifePayConsumptionPage */ |
| | | export async function getLifePayConsumptionPage( |
| | | body: API.LifePayConsumptionPageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayConsumptionListOutputPageOutput>( |
| | | '/api/LifePay/GetLifePayConsumptionPage', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取收支流水分页数据 POST /api/LifePay/GetLifePayExpensesReceiptsPage */ |
| | | export async function getLifePayExpensesReceiptsPage( |
| | | body: API.LifePayExpensesReceiptsPageInput, |
| | |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/LifePay/GetLifePayOrderPageExport', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导出渠道订单Excel POST /api/LifePay/GetLifePayOrderPageExportForChannle */ |
| | | export async function getLifePayOrderPageExportForChannle( |
| | | body: API.QueryLifePayOrderListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/LifePay/GetLifePayOrderPageExportForChannle', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | |
| | | export async function getRate(options?: API.RequestConfig) { |
| | | return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取30日收款统计 POST /api/LifePay/GetReceiptsList */ |
| | | export async function getReceiptsList(body: API.TopStatisticsInput, options?: API.RequestConfig) { |
| | | return request<API.ReceiptsListOutPut>('/api/LifePay/GetReceiptsList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 话费订单查询 POST /api/LifePay/QueryPhoneOrder */ |
| | | export async function queryPhoneOrder( |
| | | body: API.QueryPhoneOrderRequestInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.QueryPhoneOrderResponse>('/api/LifePay/QueryPhoneOrder', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 退款生活缴费订单 POST /api/LifePay/RefundLifePayOrder */ |
| | | export async function refundLifePayOrder( |
| | | body: API.RefundLifePayOrderInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取指定天数的统计数据 POST /api/LifePay/StatisticsByDate */ |
| | | export async function statisticsByDate( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIstatisticsByDateParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePay/StatisticsByDate', { |
| | | method: 'POST', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 修改实际到账金额 POST /api/LifePay/UpdateLifePayOrderActualReceivedAmount */ |
| | | export async function updateLifePayOrderActualReceivedAmount( |
| | | body: API.UpdateLifePayOrderInput, |