wupengfei
2025-06-09 74953600e30027aa89aec6eeb939a182a2a7ecda
packages/services/api/Promoter.ts
@@ -62,6 +62,21 @@
  });
}
/** 获取渠道咨询Id GET /api/Promoter/GetChannelConsultationById */
export async function getChannelConsultationById(
  // 叠加生成的Param类型 (非body参数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(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
@@ -80,6 +95,21 @@
  );
}
/** 获取推广员信息 GET /api/Promoter/GetPromoter */
export async function getPromoter(
  // 叠加生成的Param类型 (非body参数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', {