From 074b4c463c4be9bf5df11fa08779a523fdb983b1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 四月 2025 17:11:01 +0800 Subject: [PATCH] fix: 四期需求 --- packages/core/src/lifeRechargeServices.ts | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts index b04c09d..a7e60aa 100644 --- a/packages/core/src/lifeRechargeServices.ts +++ b/packages/core/src/lifeRechargeServices.ts @@ -379,14 +379,15 @@ /** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */ async getTopStatistics( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: APIgetTopStatisticsParams, + body: TopStatisticsInput, options?: RequestConfig ) { return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { - method: 'GET', - params: { - ...params, + method: 'POST', + headers: { + 'Content-Type': 'application/json', }, + data: body, ...(options || {}), }); } @@ -849,6 +850,7 @@ name?: string; channlesNum?: string; channlesId?: string; + switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum; } export interface LifePayUserMesssageByIduserInput { @@ -858,8 +860,8 @@ id?: string; } -export interface APIgetTopStatisticsParams { - channleId?: string; +export interface TopStatisticsInput { + channleList?: string[]; } export interface TopStatisticsOutput { -- Gitblit v1.9.1