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/services/api/typings.d.ts | 9 ++++
packages/core/src/lifeRechargeConstants.ts | 11 +++++
packages/services/tsconfig.json | 1
packages/core/src/lifeRechargeServices.ts | 42 +++++++++++++++++++++
4 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/packages/core/src/lifeRechargeConstants.ts b/packages/core/src/lifeRechargeConstants.ts
index f26ccb2..6d3d950 100644
--- a/packages/core/src/lifeRechargeConstants.ts
+++ b/packages/core/src/lifeRechargeConstants.ts
@@ -199,4 +199,15 @@
绂佺敤 = 20,
}
+
+ export enum LifePayChannelConsultationFollowupStatus {
+ /**鏈洖璁� */
+ None = 0,
+ /**璺熻繘涓� */
+ Ing = 1,
+ /**宸叉嫆缁� */
+ Refuse = 1,
+ /**宸插紑閫� */
+ Open = 1,
+ }
}
diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index b66a533..39398ad 100644
--- a/packages/core/src/lifeRechargeServices.ts
+++ b/packages/core/src/lifeRechargeServices.ts
@@ -395,6 +395,36 @@
...(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',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
}
export interface PhoneMesssageCodeLoginInput {
@@ -896,3 +926,15 @@
export interface QueryLifePayChannlesInput {
status?: LifeRechargeConstants.LifePayChannelsStatsEnum;
}
+
+export interface APIsetClickCountParams {
+ idnumber?: string;
+}
+
+export interface CreateChannelConsultationFollowupInput {
+ /** 娓犻亾鍜ㄨId */
+ channelConsultationId?: string;
+ followupStatus?: LifeRechargeConstants.LifePayChannelConsultationFollowupStatus;
+ /** 鍥炶璁板綍 */
+ followupRemark?: string;
+}
diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts
index e399924..df2aaef 100644
--- a/packages/services/api/typings.d.ts
+++ b/packages/services/api/typings.d.ts
@@ -718,6 +718,15 @@
switchType?: LifePaySwitchTypeEnum;
status?: LifePayChannelsStatsEnum;
channlesType?: LifePayChannlesTypeEnum;
+ agentType?: LifePayChannelAgentType;
+ /** 鍖哄煙-鐪両d */
+ areaProvinceId?: number;
+ /** 鍖哄煙-甯侷d */
+ areaCityId?: number;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ promoterName?: string;
}
interface CreateEditPayChannelsInputPageOutput {
diff --git a/packages/services/tsconfig.json b/packages/services/tsconfig.json
index 6133a3d..a34e5c9 100644
--- a/packages/services/tsconfig.json
+++ b/packages/services/tsconfig.json
@@ -9,5 +9,6 @@
"composite": true,
"types": ["node", "./api/typings.d.ts", "./types.d.ts", "./globalType.d.ts"]
},
+ "include": ["api", "./api/typings.d.ts"],
"exclude": ["node_modules", "dist"]
}
--
Gitblit v1.9.1