| | |
| | | }); |
| | | } |
| | | |
| | | /** 手续费费率配置 POST /api/LifePay/CreateEditLifePayPremium */ |
| | | export async function createEditLifePayPremium( |
| | | body: API.LifePayPremiumInput[], |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePay/CreateEditLifePayPremium', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 折扣配置 POST /api/LifePay/CreateEditLifePayRate */ |
| | | export async function createEditLifePayRate( |
| | | body: API.LifePayRateInput[], |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 须知配置 POST /api/LifePay/EditIntroInfo */ |
| | | export async function editIntroInfo(body: API.LifePayIntroInfoInput, options?: API.RequestConfig) { |
| | | return request<number>('/api/LifePay/EditIntroInfo', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取用户户号分页数据 POST /api/LifePay/GetAccountPage */ |
| | | export async function getAccountPage( |
| | | body: API.QueryUserAccountListInput, |
| | |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取须知 GET /api/LifePay/GetIntroInfo */ |
| | | export async function getIntroInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetIntroInfoParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LifePayIntroInfoOutput[]>('/api/LifePay/GetIntroInfo', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取全部缴费渠道 GET /api/LifePay/GetLifePayChannlesAllList */ |
| | | export async function getLifePayChannlesAllList(options?: API.RequestConfig) { |
| | | return request<API.CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取手续费费率 GET /api/LifePay/GetPremium */ |
| | | export async function getPremium(options?: API.RequestConfig) { |
| | | return request<API.LifePayPremiumListOutput[]>('/api/LifePay/GetPremium', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取折扣 GET /api/LifePay/GetRate */ |
| | | export async function getRate(options?: API.RequestConfig) { |
| | | return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', { |