From f4d3a468d151ce6ff4ef6b2158c2b13ebae18d43 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 19 三月 2025 18:05:13 +0800 Subject: [PATCH] fix: 三期需求 --- packages/services/api/LifePay.ts | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts index 315aa96..684ae8d 100644 --- a/packages/services/api/LifePay.ts +++ b/packages/services/api/LifePay.ts @@ -29,6 +29,21 @@ }); } +/** 鎵嬬画璐硅垂鐜囬厤缃� 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[], @@ -119,6 +134,18 @@ }); } +/** 椤荤煡閰嶇疆 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, @@ -184,6 +211,29 @@ 'Content-Type': 'application/json', }, data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇椤荤煡 GET /api/LifePay/GetIntroInfo */ +export async function getIntroInfo( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}), }); } @@ -287,6 +337,14 @@ }); } +/** 鑾峰彇鎵嬬画璐硅垂鐜� 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', { -- Gitblit v1.9.1