From c24cdd854e258712408a7904bdb401c49e3f07c1 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 28 八月 2025 13:09:08 +0800
Subject: [PATCH] fix: 修改通道充值提示语
---
packages/core/src/lifeRechargeServices.ts | 101 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 99 insertions(+), 2 deletions(-)
diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index 71d3723..41e981e 100644
--- a/packages/core/src/lifeRechargeServices.ts
+++ b/packages/core/src/lifeRechargeServices.ts
@@ -424,13 +424,43 @@
}
/** 鍒涘缓鎴栨洿鏂版帹骞垮憳 POST /api/Promoter/CreateOrUpdatePromoter */
- async createOrUpdatePromoter(body: API.CreateOrUpdatePromoterInput, options?: API.RequestConfig) {
- return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', {
+ async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) {
+ return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇娓犻亾鍜ㄨId GET /api/Promoter/GetChannelConsultationById */
+ async getChannelConsultationById(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetChannelConsultationByIdParams,
+ options?: RequestConfig
+ ) {
+ return this.request<ChannelConsultationDto>('/api/Promoter/GetChannelConsultationById', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎺ㄥ箍鍛樹俊鎭� GET /api/Promoter/GetPromoter */
+ async getPromoter(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetPromoterParams,
+ options?: RequestConfig
+ ) {
+ return this.request<PromoterDto>('/api/Promoter/GetPromoter', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
...(options || {}),
});
}
@@ -932,6 +962,8 @@
accumulatedUsers?: number;
/** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */
yesterdayActiveUsers?: number;
+ /** 绱浣i噾 */
+ accumulatedChannlesRakePrice?: number;
}
export interface QueryLifePayChannlesInput {
@@ -972,3 +1004,68 @@
/** 澶囨敞 */
remark?: string;
}
+
+export interface APIgetChannelConsultationByIdParams {
+ id?: string;
+}
+
+export type LifePayChannelAgentType = 1 | 2 | 3;
+
+export type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
+
+export interface ChannelConsultationDto {
+ /** Id */
+ id?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ /** 鍜ㄨ浜� */
+ name?: string;
+ agentType?: LifePayChannelAgentType;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鍏徃鍚嶇О */
+ companyName?: string;
+ /** 瀹㈡埛璧勬簮 */
+ customerResources?: string;
+ /** ID */
+ promoterIdNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ promoterName?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ promoterPhoneNumber?: string;
+ followupStatus?: LifePayChannelConsultationFollowupStatus;
+ /** 鏈�杩戝洖璁� */
+ lastFollowupTime?: string;
+ /** 鍥炶璁板綍 */
+ followupRemark?: string;
+}
+
+export interface APIgetPromoterParams {
+ phoneNumber?: string;
+}
+
+export interface PromoterDto {
+ /** Id */
+ id?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ /** ID */
+ idNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ name?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鐐瑰嚮鏁� */
+ clickCount?: number;
+ /** 鐢宠鏁� */
+ applyCount?: number;
+ /** 澶囨敞 */
+ remark?: string;
+}
+
+export interface CreateOrUpdatePromoterOutput {
+ /** Id */
+ id?: string;
+ /** IdNumber */
+ idNumber?: string;
+}
--
Gitblit v1.9.1