zhengyiming
2025-06-09 b237e3a2dd13592a680d99c058e5c832a1322120
packages/core/src/lifeRechargeServices.ts
@@ -351,9 +351,13 @@
  }
  /** 获取全部缴费渠道 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 || {}),
    });
  }
@@ -379,14 +383,45 @@
  /** 获取顶部统计数据 GET /api/LifePay/GetTopStatistics */
  async getTopStatistics(
    // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
    params: APIgetTopStatisticsParams,
    body: TopStatisticsInput,
    options?: RequestConfig
  ) {
    return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', {
      method: 'GET',
      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/CreateChannelConsultationFollowup */
  async createChannelConsultationFollowup(
    body: CreateChannelConsultationFollowupInput,
    options?: RequestConfig
  ) {
    return this.request<string>('/api/Promoter/CreateChannelConsultationFollowup', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    });
  }
@@ -849,6 +884,7 @@
  name?: string;
  channlesNum?: string;
  channlesId?: string;
  switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum;
}
export interface LifePayUserMesssageByIduserInput {
@@ -858,8 +894,8 @@
  id?: string;
}
export interface APIgetTopStatisticsParams {
  channleId?: string;
export interface TopStatisticsInput {
  channleList?: string[];
}
export interface TopStatisticsOutput {
@@ -886,3 +922,19 @@
  /** 昨日活跃用户 */
  yesterdayActiveUsers?: number;
}
export interface QueryLifePayChannlesInput {
  status?: LifeRechargeConstants.LifePayChannelsStatsEnum;
}
export interface APIsetClickCountParams {
  idnumber?: string;
}
export interface CreateChannelConsultationFollowupInput {
  /** 渠道咨询Id */
  channelConsultationId?: string;
  followupStatus?: LifeRechargeConstants.LifePayChannelConsultationFollowupStatus;
  /** 回访记录 */
  followupRemark?: string;
}