From 0886e91fdfe3b5528f80d2b6742083aa11d16ebb Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 02 四月 2025 15:54:15 +0800 Subject: [PATCH] fix: 四期bug --- packages/core/src/lifeRechargeServices.ts | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts index b04c09d..b66a533 100644 --- a/packages/core/src/lifeRechargeServices.ts +++ b/packages/core/src/lifeRechargeServices.ts @@ -351,9 +351,13 @@ } /** 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾 GET /api/LifePay/GetLifePayChannlesAllList */ - async getLifePayChannlesAllList(options?: RequestConfig) { + async getLifePayChannlesAllList(body: QueryLifePayChannlesInput, options?: RequestConfig) { return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { - method: 'GET', + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, ...(options || {}), }); } @@ -379,14 +383,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 +854,7 @@ name?: string; channlesNum?: string; channlesId?: string; + switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum; } export interface LifePayUserMesssageByIduserInput { @@ -858,8 +864,8 @@ id?: string; } -export interface APIgetTopStatisticsParams { - channleId?: string; +export interface TopStatisticsInput { + channleList?: string[]; } export interface TopStatisticsOutput { @@ -886,3 +892,7 @@ /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */ yesterdayActiveUsers?: number; } + +export interface QueryLifePayChannlesInput { + status?: LifeRechargeConstants.LifePayChannelsStatsEnum; +} -- Gitblit v1.9.1