|  |  | 
 |  |  |   body: API.LifeElectricDataCreateLifePayOrderInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<any>('/api/LifePay/CreateLifePayElectricOrder', { | 
 |  |  |   return request<API.CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayElectricOrder', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  | 
 |  |  |   body: API.LifePhoneDataCreateLifePayOrderInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<any>('/api/LifePay/CreateLifePayPhoneOrder', { | 
 |  |  |   return request<API.CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayPhoneOrder', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 获取订单分页数据 POST /api/LifePay/GetLifePayOrderPage */ | 
 |  |  | export async function getLifePayOrderPage( | 
 |  |  |   body: API.QueryLifePayOrderListInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<API.LifePayOrderListOutputPageOutput>('/api/LifePay/GetLifePayOrderPage', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  |     }, | 
 |  |  |     data: body, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 根据订单号获取支付状态 GET /api/LifePay/GetPayStatusByOrderNo */ | 
 |  |  | export async function getPayStatusByOrderNo( | 
 |  |  |   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |   params: API.APIgetPayStatusByOrderNoParams, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<API.LifePayStatusEnum>('/api/LifePay/GetPayStatusByOrderNo', { | 
 |  |  |     method: 'GET', | 
 |  |  |     params: { | 
 |  |  |       ...params, | 
 |  |  |     }, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 获取话费面值 GET /api/LifePay/GetPhoneParValue */ | 
 |  |  | export async function getPhoneParValue(options?: API.RequestConfig) { | 
 |  |  |   return request<API.PhoneParValueResponse>('/api/LifePay/GetPhoneParValue', { | 
 |  |  | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 获取折扣 GET /api/LifePay/GetRate */ | 
 |  |  | export async function getRate(options?: API.RequestConfig) { | 
 |  |  |   return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', { | 
 |  |  |     method: 'GET', | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 获取我的订单分页数据 POST /api/LifePay/GetUserLifePayOrderPage */ | 
 |  |  | export async function getUserLifePayOrderPage( | 
 |  |  |   body: API.QueryLifePayOrderListInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<API.UserLifePayOrderOutputPageOutput>('/api/LifePay/GetUserLifePayOrderPage', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  |     }, | 
 |  |  |     data: body, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 获取用户分页数据 POST /api/LifePay/GetUserPage */ | 
 |  |  | export async function getUserPage(body: API.PageInput, options?: API.RequestConfig) { | 
 |  |  |   return request<API.UserListOutputPageOutput>('/api/LifePay/GetUserPage', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  |     }, | 
 |  |  |     data: body, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 退款生活缴费订单 POST /api/LifePay/RefundLifePayOrder */ | 
 |  |  | export async function refundLifePayOrder( | 
 |  |  |   body: API.RefundLifePayOrderInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<any>('/api/LifePay/RefundLifePayOrder', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  |     }, | 
 |  |  |     data: body, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  |  | 
 |  |  | /** 设置生活缴费支付类型 POST /api/LifePay/SetLifePayOrderPayType */ | 
 |  |  | export async function setLifePayOrderPayType( | 
 |  |  |   body: API.SetLifePayOrderPayTypeInput, | 
 |  |  |   options?: API.RequestConfig | 
 |  |  | ) { | 
 |  |  |   return request<string>('/api/LifePay/SetLifePayOrderPayType', { | 
 |  |  |     method: 'POST', | 
 |  |  |     headers: { | 
 |  |  |       'Content-Type': 'application/json', | 
 |  |  |     }, | 
 |  |  |     data: body, | 
 |  |  |     ...(options || {}), | 
 |  |  |   }); | 
 |  |  | } |