| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取渠道咨询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默认没有生成对象) |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 获取推广员信息 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', { |