From 1910e9f27373b8b4da75f076762025ceb3419965 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 15:40:50 +0800
Subject: [PATCH] fix: 暂时隐藏电信充值通道
---
packages/services/api/Promoter.ts | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/packages/services/api/Promoter.ts b/packages/services/api/Promoter.ts
index 4b533ed..cc5febb 100644
--- a/packages/services/api/Promoter.ts
+++ b/packages/services/api/Promoter.ts
@@ -37,7 +37,7 @@
body: API.CreateOrUpdatePromoterInput,
options?: API.RequestConfig
) {
- return request<string>('/api/Promoter/CreateOrUpdatePromoter', {
+ return request<API.CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -62,6 +62,21 @@
});
}
+/** 鑾峰彇娓犻亾鍜ㄨId GET /api/Promoter/GetChannelConsultationById */
+export async function getChannelConsultationById(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetChannelConsultationByIdParams,
+ options?: API.RequestConfig
+) {
+ return request<API.ChannelConsultationDto>('/api/Promoter/GetChannelConsultationById', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
/** 鑾峰彇娓犻亾鍜ㄨ鍥炶璁板綍 GET /api/Promoter/GetChannelConsultationFollowupList */
export async function getChannelConsultationFollowupList(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -80,6 +95,21 @@
);
}
+/** 鑾峰彇鎺ㄥ箍鍛樹俊鎭� GET /api/Promoter/GetPromoter */
+export async function getPromoter(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetPromoterParams,
+ options?: API.RequestConfig
+) {
+ return request<API.PromoterDto>('/api/Promoter/GetPromoter', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
/** 鑾峰彇鎺ㄥ箍鍛樺垪琛� POST /api/Promoter/GetPromoters */
export async function getPromoters(body: API.GetPromotersInput, options?: API.RequestConfig) {
return request<API.PromoterDtoPageOutput>('/api/Promoter/GetPromoters', {
--
Gitblit v1.9.1