| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取电费充值区域 GET /api/LifePay/GetElectricSupportArea */ |
| | | export async function getElectricSupportArea(options?: API.RequestConfig) { |
| | | return request<API.ElectricSupportAreaResponse>('/api/LifePay/GetElectricSupportArea', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取订单分页数据 POST /api/LifePay/GetLifePayOrderPage */ |
| | | export async function getLifePayOrderPage( |
| | | body: API.QueryLifePayOrderListInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取微信支付的JSAPI POST /api/LifePay/GetPayOrderForJsAPI */ |
| | | export async function getPayOrderForJsAPI( |
| | | body: API.GetPayOrderForJsAPIInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ModelPayPrePayId>('/api/LifePay/GetPayOrderForJsAPI', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 根据订单号获取支付状态 GET /api/LifePay/GetPayStatusByOrderNo */ |
| | | export async function getPayStatusByOrderNo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |