From f5105689af0ccee7d34632e8f8b47a66abda0884 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 09 六月 2025 15:09:06 +0800
Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui

---
 packages/core/src/lifeRechargeServices.ts |   98 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 92 insertions(+), 6 deletions(-)

diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index b04c09d..71d3723 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,54 @@
   /** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */
   async getTopStatistics(
     // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
-    params: APIgetTopStatisticsParams,
+    body: TopStatisticsInput,
     options?: RequestConfig
   ) {
     return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', {
-      method: 'GET',
+      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/CreateChannelConsultation */
+  async createChannelConsultation(body: CreateChannelConsultationInput, options?: RequestConfig) {
+    return this.request<string>('/api/Promoter/CreateChannelConsultation', {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    });
+  }
+
+  /** 鍒涘缓鎴栨洿鏂版帹骞垮憳 POST /api/Promoter/CreateOrUpdatePromoter */
+  async createOrUpdatePromoter(body: API.CreateOrUpdatePromoterInput, options?: API.RequestConfig) {
+    return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
       ...(options || {}),
     });
   }
@@ -839,6 +883,8 @@
 export interface LifePayPhoneMesssageCodeLoginOutput {
   /** 鐢ㄦ埛Id */
   userId?: string;
+  /** 鎺ㄥ箍鍛業D */
+  promoterIdNumber?: string;
   /** 鏄惁鏄悗鍙扮敤鎴� */
   isBackClientUser?: boolean;
   /** 娓犻亾鍙� */
@@ -849,6 +895,7 @@
   name?: string;
   channlesNum?: string;
   channlesId?: string;
+  switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum;
 }
 
 export interface LifePayUserMesssageByIduserInput {
@@ -858,8 +905,8 @@
   id?: string;
 }
 
-export interface APIgetTopStatisticsParams {
-  channleId?: string;
+export interface TopStatisticsInput {
+  channleList?: string[];
 }
 
 export interface TopStatisticsOutput {
@@ -886,3 +933,42 @@
   /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */
   yesterdayActiveUsers?: number;
 }
+
+export interface QueryLifePayChannlesInput {
+  status?: LifeRechargeConstants.LifePayChannelsStatsEnum;
+}
+
+export interface APIsetClickCountParams {
+  idnumber?: string;
+}
+
+export interface CreateChannelConsultationInput {
+  /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+  userId?: string;
+  /** 鎺ㄥ箍浜篒d */
+  idNumber?: string;
+  /** 鍜ㄨ浜� */
+  name?: string;
+  agentType?: LifeRechargeConstants.LifePayChannelAgentType;
+  /** 鑱旂郴鏂瑰紡 */
+  phoneNumber?: string;
+  /** 鍏徃鍚嶇О */
+  companyName?: string;
+  /** 瀹㈡埛璧勬簮 */
+  customerResources?: string;
+}
+
+export interface CreateOrUpdatePromoterInput {
+  /** Id */
+  id?: string;
+  /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+  userId?: string;
+  /** ID */
+  idNumber?: string;
+  /** 鎺ㄥ箍鍛� */
+  name?: string;
+  /** 鑱旂郴鏂瑰紡 */
+  phoneNumber?: string;
+  /** 澶囨敞 */
+  remark?: string;
+}

--
Gitblit v1.9.1