zhengyiming
2 天以前 f34af9bbc5ec1a40fa5d9f658ea2face2fb13b19
packages/core/src/lifeRechargeServices.ts
@@ -425,7 +425,7 @@
  /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */
  async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) {
    return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', {
    return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
@@ -463,6 +463,24 @@
      },
      ...(options || {}),
    });
  }
  /** 获取当前展示中的公告 POST /api/LifePayAnnouncement/GetShowingLifePayAnnouncement */
  async getShowingLifePayAnnouncement(
    body: GetShowingLifePayAnnouncementInput,
    options?: RequestConfig
  ) {
    return this.request<CreateEditLifePayAnnouncementOutput>(
      '/api/LifePayAnnouncement/GetShowingLifePayAnnouncement',
      {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        },
        data: body,
        ...(options || {}),
      }
    );
  }
}
@@ -962,6 +980,8 @@
  accumulatedUsers?: number;
  /** 昨日活跃用户 */
  yesterdayActiveUsers?: number;
  /** 累计佣金 */
  accumulatedChannlesRakePrice?: number;
}
export interface QueryLifePayChannlesInput {
@@ -1060,3 +1080,27 @@
  /** 备注 */
  remark?: string;
}
export interface CreateOrUpdatePromoterOutput {
  /** Id */
  id?: string;
  /** IdNumber */
  idNumber?: string;
}
export interface GetShowingLifePayAnnouncementInput {
  announcementType?: LifeRechargeConstants.AnnouncementTypeEnum;
}
export interface CreateEditLifePayAnnouncementOutput {
  id?: string;
  announcementType: LifeRechargeConstants.AnnouncementTypeEnum;
  /** 生效日期 */
  startTime: string;
  /** 截止日期 */
  endTime: string;
  /** 公告内容 */
  announcementContent: string;
  creationTime?: string;
  status?: LifeRechargeConstants.AnnouncementStatusEnum;
}