| | |
| | | }); |
| | | } |
| | | |
| | | /** 此处后端没有提供注释 GET /api/LifePay/GetBillErceiptExport */ |
| | | export async function getBillErceiptExport( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetBillErceiptExportParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/LifePay/GetBillErceiptExport', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取电费面值 POST /api/LifePay/GetElectricParValue */ |
| | | export async function getElectricParValue( |
| | | body: API.ChannelsBaseInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取订单详情 GET /api/LifePay/GetLifePayOrderDetail */ |
| | | export async function getLifePayOrderDetail( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetLifePayOrderDetailParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayOrderOutput>('/api/LifePay/GetLifePayOrderDetail', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取订单分页数据 POST /api/LifePay/GetLifePayOrderPage */ |
| | | export async function getLifePayOrderPage( |
| | | body: API.QueryLifePayOrderListInput, |
| | |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/LifePay/GetLifePayOrderPageExport', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取退款订单详情 GET /api/LifePay/GetLifePayRefundOrderDetail */ |
| | | export async function getLifePayRefundOrderDetail( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetLifePayRefundOrderDetailParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayRefundOrderOutput>('/api/LifePay/GetLifePayRefundOrderDetail', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取退款订单分页数据 POST /api/LifePay/GetLifePayRefundOrderPage */ |
| | | export async function getLifePayRefundOrderPage( |
| | | body: API.QueryLifePayRefundOrderListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayOrderListOutputPageOutput>('/api/LifePay/GetLifePayRefundOrderPage', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | |
| | | /** 获取折扣 GET /api/LifePay/GetRate */ |
| | | export async function getRate(options?: API.RequestConfig) { |
| | | return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取顶部统计数据 GET /api/LifePay/GetTopStatistics */ |
| | | export async function getTopStatistics(options?: API.RequestConfig) { |
| | | return request<API.TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | |
| | | } |
| | | |
| | | /** 获取用户分页数据 POST /api/LifePay/GetUserPage */ |
| | | export async function getUserPage(body: API.PageInput, options?: API.RequestConfig) { |
| | | export async function getUserPage(body: API.QueryUserPageInput, options?: API.RequestConfig) { |
| | | return request<API.UserListOutputPageOutput>('/api/LifePay/GetUserPage', { |
| | | method: 'POST', |
| | | headers: { |