| | |
| | | }); |
| | | } |
| | | |
| | | /** 上传充值流水 POST /api/LifePay/AddUpdatePayRechargeReceipts */ |
| | | export async function addUpdatePayRechargeReceipts( |
| | | body: API.AddUpdatePayRechargeReceiptsInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePay/AddUpdatePayRechargeReceipts', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 添加或修改我的户号 POST /api/LifePay/AddUpdateUserAccount */ |
| | | export async function addUpdateUserAccount( |
| | | body: API.AddUpdateUserAccountInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取渠道折扣 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 || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取电费面值 POST /api/LifePay/GetElectricParValue */ |
| | | export async function getElectricParValue( |
| | | body: API.ChannelsBaseInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取充值流水分页数据 POST /api/LifePay/GetLifePayRechargeReceiptsPage */ |
| | | export async function getLifePayRechargeReceiptsPage( |
| | | body: API.LifePayRechargeReceiptsPageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput>( |
| | | '/api/LifePay/GetLifePayRechargeReceiptsPage', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 导出退款订单Excel POST /api/LifePay/GetLifePayRefudOrderPageExport */ |
| | | export async function getLifePayRefudOrderPageExport( |
| | | body: API.QueryLifePayRefundOrderListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/LifePay/GetLifePayRefudOrderPageExport', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取退款订单详情 GET /api/LifePay/GetLifePayRefundOrderDetail */ |
| | | export async function getLifePayRefundOrderDetail( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取在线客服 GET /api/LifePay/GetOnlineService */ |
| | | export async function getOnlineService(options?: API.RequestConfig) { |
| | | return request<string>('/api/LifePay/GetOnlineService', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询支付宝支付订单信息 POST /api/LifePay/QueryAlipayTrade */ |
| | | export async function queryAlipayTrade(body: API.OrderInQuiryInput, options?: API.RequestConfig) { |
| | | return request<API.AlipayTradeQueryResponse>('/api/LifePay/QueryAlipayTrade', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询支付宝退款订单信息 POST /api/LifePay/QueryAlipayTradeRefund */ |
| | | export async function queryAlipayTradeRefund( |
| | | body: API.OrderInQuiryInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.AlipayTradeFastpayRefundQueryResponse>('/api/LifePay/QueryAlipayTradeRefund', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 退款生活缴费订单 POST /api/LifePay/RefundLifePayOrder */ |
| | | export async function refundLifePayOrder( |
| | | body: API.RefundLifePayOrderInput, |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 修改实际到账金额 POST /api/LifePay/UpdateLifePayOrderActualReceivedAmount */ |
| | | export async function updateLifePayOrderActualReceivedAmount( |
| | | body: API.UpdateLifePayOrderInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePay/UpdateLifePayOrderActualReceivedAmount', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 在线客服配置 POST /api/LifePay/UpdateOnlineService */ |
| | | export async function updateOnlineService( |
| | | body: API.OnlineServiceInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePay/UpdateOnlineService', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 此处后端没有提供注释 GET /api/LifePay/WxPayDomesticRefundsQuery */ |
| | | export async function wxPayDomesticRefundsQuery( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIwxPayDomesticRefundsQueryParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/LifePay/WxPayDomesticRefundsQuery', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |