zhengyiming
2025-03-10 0de2ad47a3df7de03bc24067cf61e4170e05388e
packages/core/src/lifeRechargeServices.ts
@@ -7,7 +7,17 @@
export class BlLifeRechargeServices<TResponse = any, TRequestOptions = any> {
  private request: IRequest;
  constructor({ axiosConfig }: BlLifeRechargeServicesOptions<TResponse, TRequestOptions>) {
    this.request = Request.create(axiosConfig);
    this.request = Request.create({
      ...axiosConfig,
      // baseURL: process.env.NODE_ENV === 'development' ? '/' : 'https://api.81812333.com',
      timeout: 10 * 1000,
      headers: {
        Accept: 'application/json, text/plain, */*',
        'Content-Type': 'application/json',
        'X-Requested-With': 'XMLHttpRequest',
      },
      withCredentials: true,
    });
  }
  async lifePayPhoneMesssageCodeLogin(body: PhoneMesssageCodeLoginInput, options?: RequestConfig) {
@@ -152,7 +162,7 @@
  /** 手机号 */
  phoneNumber: string;
  /** 验证码 */
  code: string;
  // code: string;
}
export interface LifePayRateListOutput {
@@ -370,6 +380,7 @@
  lifePayType?: LifeRechargeConstants.LifePayTypeEnum;
  openId?: string;
  attach?: string;
  payAppId?: string;
}
export interface ModelPaymentMiniPay {