From dca624a7e4c877dc4bfd8c496a6c2a6b29ad4b46 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 25 三月 2025 10:16:37 +0800
Subject: [PATCH] fix: 四期需求
---
packages/core/src/lifeRechargeServices.ts | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index c7ed9f6..e8be114 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 {
@@ -498,6 +521,8 @@
/** 娓犻亾娴佹按鍙� */
acoolyOrderNo?: string;
frontStatus?: LifeRechargeConstants.LifePayOrderFrontStatusEnum;
+ lifePayRefundStatus?: LifeRechargeConstants.LifePayRefundStatusEnum;
+ acoolyStatus?: LifeRechargeConstants.ACOOLYStatusEnum;
}
export interface ElectricSupportAreaResponse {
@@ -725,3 +750,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.10.0