From 74953600e30027aa89aec6eeb939a182a2a7ecda Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 09 六月 2025 16:20:05 +0800 Subject: [PATCH] feat: 接口 --- packages/services/api/Promoter.ts | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/packages/services/api/Promoter.ts b/packages/services/api/Promoter.ts index 4b533ed..357048a 100644 --- a/packages/services/api/Promoter.ts +++ b/packages/services/api/Promoter.ts @@ -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