| | |
| | | } |
| | | |
| | | /** 获取全部缴费渠道 GET /api/LifePay/GetLifePayChannlesAllList */ |
| | | async getLifePayChannlesAllList(options?: RequestConfig) { |
| | | async getLifePayChannlesAllList(body: QueryLifePayChannlesInput, options?: RequestConfig) { |
| | | return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { |
| | | method: 'GET', |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | /** 获取顶部统计数据 GET /api/LifePay/GetTopStatistics */ |
| | | async getTopStatistics( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: APIgetTopStatisticsParams, |
| | | body: TopStatisticsInput, |
| | | options?: RequestConfig |
| | | ) { |
| | | return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 点击数+1 POST /api/Promoter/SetClickCount */ |
| | | async setClickCount( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: APIsetClickCountParams, |
| | | options?: RequestConfig |
| | | ) { |
| | | return this.request<any>('/api/Promoter/SetClickCount', { |
| | | method: 'POST', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 申请渠道咨询 POST /api/Promoter/CreateChannelConsultation */ |
| | | async createChannelConsultation(body: CreateChannelConsultationInput, options?: RequestConfig) { |
| | | return this.request<string>('/api/Promoter/CreateChannelConsultation', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */ |
| | | async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) { |
| | | return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取渠道咨询Id GET /api/Promoter/GetChannelConsultationById */ |
| | | async getChannelConsultationById( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: APIgetChannelConsultationByIdParams, |
| | | options?: RequestConfig |
| | | ) { |
| | | return this.request<ChannelConsultationDto>('/api/Promoter/GetChannelConsultationById', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取推广员信息 GET /api/Promoter/GetPromoter */ |
| | | async getPromoter( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: APIgetPromoterParams, |
| | | options?: RequestConfig |
| | | ) { |
| | | return this.request<PromoterDto>('/api/Promoter/GetPromoter', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | |
| | | export interface LifePayPhoneMesssageCodeLoginOutput { |
| | | /** 用户Id */ |
| | | userId?: string; |
| | | /** 推广员ID */ |
| | | promoterIdNumber?: string; |
| | | /** 是否是后台用户 */ |
| | | isBackClientUser?: boolean; |
| | | /** 渠道号 */ |
| | |
| | | name?: string; |
| | | channlesNum?: string; |
| | | channlesId?: string; |
| | | switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum; |
| | | } |
| | | |
| | | export interface LifePayUserMesssageByIduserInput { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | export interface APIgetTopStatisticsParams { |
| | | channleId?: string; |
| | | export interface TopStatisticsInput { |
| | | channleList?: string[]; |
| | | } |
| | | |
| | | export interface TopStatisticsOutput { |
| | |
| | | /** 昨日活跃用户 */ |
| | | yesterdayActiveUsers?: number; |
| | | } |
| | | |
| | | export interface QueryLifePayChannlesInput { |
| | | status?: LifeRechargeConstants.LifePayChannelsStatsEnum; |
| | | } |
| | | |
| | | export interface APIsetClickCountParams { |
| | | idnumber?: string; |
| | | } |
| | | |
| | | export interface CreateChannelConsultationInput { |
| | | /** 客户端用户Id 如有 */ |
| | | userId?: string; |
| | | /** 推广人Id */ |
| | | idNumber?: string; |
| | | /** 咨询人 */ |
| | | name?: string; |
| | | agentType?: LifeRechargeConstants.LifePayChannelAgentType; |
| | | /** 联系方式 */ |
| | | phoneNumber?: string; |
| | | /** 公司名称 */ |
| | | companyName?: string; |
| | | /** 客户资源 */ |
| | | customerResources?: string; |
| | | } |
| | | |
| | | export interface CreateOrUpdatePromoterInput { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 客户端用户Id 如有 */ |
| | | userId?: string; |
| | | /** ID */ |
| | | idNumber?: string; |
| | | /** 推广员 */ |
| | | name?: string; |
| | | /** 联系方式 */ |
| | | phoneNumber?: string; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | export interface APIgetChannelConsultationByIdParams { |
| | | id?: string; |
| | | } |
| | | |
| | | export type LifePayChannelAgentType = 1 | 2 | 3; |
| | | |
| | | export type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4; |
| | | |
| | | export interface ChannelConsultationDto { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 咨询时间 */ |
| | | creationTime?: string; |
| | | /** 咨询人 */ |
| | | name?: string; |
| | | agentType?: LifePayChannelAgentType; |
| | | /** 联系方式 */ |
| | | phoneNumber?: string; |
| | | /** 公司名称 */ |
| | | companyName?: string; |
| | | /** 客户资源 */ |
| | | customerResources?: string; |
| | | /** ID */ |
| | | promoterIdNumber?: string; |
| | | /** 推广员 */ |
| | | promoterName?: string; |
| | | /** 联系方式 */ |
| | | promoterPhoneNumber?: string; |
| | | followupStatus?: LifePayChannelConsultationFollowupStatus; |
| | | /** 最近回访 */ |
| | | lastFollowupTime?: string; |
| | | /** 回访记录 */ |
| | | followupRemark?: string; |
| | | } |
| | | |
| | | export interface APIgetPromoterParams { |
| | | phoneNumber?: string; |
| | | } |
| | | |
| | | export interface PromoterDto { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 咨询时间 */ |
| | | creationTime?: string; |
| | | /** ID */ |
| | | idNumber?: string; |
| | | /** 推广员 */ |
| | | name?: string; |
| | | /** 联系方式 */ |
| | | phoneNumber?: string; |
| | | /** 点击数 */ |
| | | clickCount?: number; |
| | | /** 申请数 */ |
| | | applyCount?: number; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | export interface CreateOrUpdatePromoterOutput { |
| | | /** Id */ |
| | | id?: string; |
| | | /** IdNumber */ |
| | | idNumber?: string; |
| | | } |