zhengyiming
2025-03-06 e40bd17fe4ef369c9b68c0100ff1c50b9ef8729e
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 {