From 174f774704bbab83061288522ec4fbdfba1f6716 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 25 三月 2025 13:17:10 +0800 Subject: [PATCH] fix: 三期bug --- packages/core/src/lifeRechargeServices.ts | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts index e62802a..279dce2 100644 --- a/packages/core/src/lifeRechargeServices.ts +++ b/packages/core/src/lifeRechargeServices.ts @@ -315,6 +315,29 @@ ...(options || {}), }); } + + /** 鑾峰彇椤荤煡 GET /api/LifePay/GetIntroInfo */ + async getIntroInfo(params: APIgetIntroInfoParams, options?: RequestConfig) { + return this.request<LifePayIntroInfoOutput[]>('/api/LifePay/GetIntroInfo', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); + } + + /** 鑾峰彇娓犻亾鎶樻墸 GET /api/LifePay/GetChannelRate */ + async getChannelRate(body: ChannelsBaseInput, options?: RequestConfig) { + return this.request<ChannelRateOutput>('/api/LifePay/GetChannelRate', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); + } } export interface PhoneMesssageCodeLoginInput { @@ -491,12 +514,17 @@ creationTime?: string; /** 閫�娆炬椂闂� */ refundTime?: string; + /** 閫�娆剧敵璇锋椂闂� */ + refundApplyTime?: string; /** 閫�娆惧嚟璇� */ refundCredentialsImgUrl?: string; refundApplyRemark?: string; refundCheckRemark?: string; /** 娓犻亾娴佹按鍙� */ acoolyOrderNo?: string; + frontStatus?: LifeRechargeConstants.LifePayOrderFrontStatusEnum; + lifePayRefundStatus?: LifeRechargeConstants.LifePayRefundStatusEnum; + acoolyStatus?: LifeRechargeConstants.ACOOLYStatusEnum; } export interface ElectricSupportAreaResponse { @@ -724,3 +752,26 @@ checkChannelId?: string; orderNo?: string; } + +export interface APIgetIntroInfoParams { + type?: LifeRechargeConstants.LifePayOrderTypeEnum; +} + +export interface LifePayIntroInfoOutput { + type?: IntroInfoTypeEnum; + lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum; + /** 鎽樿 */ + contentSummary?: string; + /** 鏂囨湰鍐呭 */ + content?: string; + /** 鍥剧墖/瑙嗛璺緞 */ + path?: string; + /** 鎺掑簭 */ + sequence?: number; +} + +export type IntroInfoTypeEnum = 0 | 1 | 2 | 3 | 4; + +export interface ChannelRateOutput { + channlesRate?: number; +} -- Gitblit v1.9.1