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 | 58 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 46 insertions(+), 12 deletions(-) diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts index 39398ad..71d3723 100644 --- a/packages/core/src/lifeRechargeServices.ts +++ b/packages/core/src/lifeRechargeServices.ts @@ -411,12 +411,21 @@ }); } - /** 鏂板鍥炶 POST /api/Promoter/CreateChannelConsultationFollowup */ - async createChannelConsultationFollowup( - body: CreateChannelConsultationFollowupInput, - options?: RequestConfig - ) { - return this.request<string>('/api/Promoter/CreateChannelConsultationFollowup', { + /** 鐢宠娓犻亾鍜ㄨ 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', @@ -874,6 +883,8 @@ export interface LifePayPhoneMesssageCodeLoginOutput { /** 鐢ㄦ埛Id */ userId?: string; + /** 鎺ㄥ箍鍛業D */ + promoterIdNumber?: string; /** 鏄惁鏄悗鍙扮敤鎴� */ isBackClientUser?: boolean; /** 娓犻亾鍙� */ @@ -931,10 +942,33 @@ idnumber?: string; } -export interface CreateChannelConsultationFollowupInput { - /** 娓犻亾鍜ㄨId */ - channelConsultationId?: string; - followupStatus?: LifeRechargeConstants.LifePayChannelConsultationFollowupStatus; - /** 鍥炶璁板綍 */ - followupRemark?: 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