zhengyiming
2025-03-06 ad032ad0889156572271868601d6665e560318b4
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: isWeb ? process.env.BASE_URL_H5 : process.env.BASE_URL,
      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 {