zhengyiming
2025-03-28 8bb9173a95a87e3ceab4f48b5b34041af38b7c70
packages/core/src/lifeRechargeServices.ts
@@ -42,14 +42,17 @@
  }
  async lifePayPhoneMesssageCodeLogin(body: PhoneMesssageCodeLoginInput, options?: RequestConfig) {
    return this.request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    });
    return this.request<LifePayPhoneMesssageCodeLoginOutput>(
      '/api/Account/LifePayPhoneMesssageCodeLogin',
      {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        },
        data: body,
        ...(options || {}),
      }
    );
  }
  /** 获取折扣 GET /api/LifePay/GetRate */
@@ -326,6 +329,52 @@
      ...(options || {}),
    });
  }
  /** 获取渠道折扣 GET /api/LifePay/GetChannelRate */
  async getChannelRate(body: ChannelsBaseInput, options?: RequestConfig) {
    return this.request<ChannelRateOutput>('/api/LifePay/GetChannelRate', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    });
  }
  /** 获取在线客服 GET /api/LifePay/GetOnlineService */
  async getOnlineService(options?: RequestConfig) {
    return this.request<string>('/api/LifePay/GetOnlineService', {
      method: 'GET',
      ...(options || {}),
    });
  }
  /** 获取全部缴费渠道 GET /api/LifePay/GetLifePayChannlesAllList */
  async getLifePayChannlesAllList(options?: RequestConfig) {
    return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', {
      method: 'GET',
      ...(options || {}),
    });
  }
  /** 根据用户ID获取用户是否为后台管理员 POST /api/Account/LifePayUserMesssageByIduser */
  async lifePayUserMesssageByIduser(
    body: LifePayUserMesssageByIduserInput,
    options?: RequestConfig
  ) {
    return this.request<LifePayPhoneMesssageCodeLoginOutput>(
      '/api/Account/LifePayUserMesssageByIduser',
      {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        },
        data: body,
        ...(options || {}),
      }
    );
  }
}
export interface PhoneMesssageCodeLoginInput {
@@ -502,6 +551,8 @@
  creationTime?: string;
  /** 退款时间 */
  refundTime?: string;
  /** 退款申请时间 */
  refundApplyTime?: string;
  /** 退款凭证 */
  refundCredentialsImgUrl?: string;
  refundApplyRemark?: string;
@@ -757,3 +808,36 @@
}
export type IntroInfoTypeEnum = 0 | 1 | 2 | 3 | 4;
export interface ChannelRateOutput {
  channlesRate?: number;
}
export interface CreateEditPayChannelsInput {
  id?: string;
  channlesName?: string;
  channlesNum?: string;
  channlesRate?: number;
  channlesRakeRate?: number;
}
export interface LifePayPhoneMesssageCodeLoginOutput {
  /** 用户Id */
  userId?: string;
  /** 是否是后台用户 */
  isBackClientUser?: boolean;
  /** 渠道号 */
  channlesNum?: ChannelOutput[];
}
export interface ChannelOutput {
  name?: string;
  channlesNum?: string;
}
export interface LifePayUserMesssageByIduserInput {
  pageModel?: Pagination;
  checkChannelId?: string;
  /** 用户编号 */
  id?: string;
}