From b237e3a2dd13592a680d99c058e5c832a1322120 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 09 六月 2025 10:02:56 +0800 Subject: [PATCH] fix: v1.4 --- packages/core/src/lifeRechargeServices.ts | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 52 insertions(+), 2 deletions(-) diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts index a7e60aa..39398ad 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 || {}), }); } @@ -383,6 +387,36 @@ options?: RequestConfig ) { return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); + } + + /** 鐐瑰嚮鏁�+1 POST /api/Promoter/SetClickCount */ + async setClickCount( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: APIsetClickCountParams, + options?: RequestConfig + ) { + return this.request<any>('/api/Promoter/SetClickCount', { + method: 'POST', + params: { + ...params, + }, + ...(options || {}), + }); + } + + /** 鏂板鍥炶 POST /api/Promoter/CreateChannelConsultationFollowup */ + async createChannelConsultationFollowup( + body: CreateChannelConsultationFollowupInput, + options?: RequestConfig + ) { + return this.request<string>('/api/Promoter/CreateChannelConsultationFollowup', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -888,3 +922,19 @@ /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */ yesterdayActiveUsers?: number; } + +export interface QueryLifePayChannlesInput { + status?: LifeRechargeConstants.LifePayChannelsStatsEnum; +} + +export interface APIsetClickCountParams { + idnumber?: string; +} + +export interface CreateChannelConsultationFollowupInput { + /** 娓犻亾鍜ㄨId */ + channelConsultationId?: string; + followupStatus?: LifeRechargeConstants.LifePayChannelConsultationFollowupStatus; + /** 鍥炶璁板綍 */ + followupRemark?: string; +} -- Gitblit v1.9.1