zhengyiming
2025-02-24 3ee683d6b002f098e5b7fed11b54615126d82a3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { AxiosRequestConfig } from 'axios';
 
export interface IRequestOptions extends AxiosRequestConfig {}
 
export interface IRequest {
  <T = any>(url: string, opts: IRequestOptions): Promise<T>;
}
 
export type BlLifeRechargeServicesOptions<T extends IRequest> = {
  request: T;
};
 
export type BlLifeRechargeAccountModelOptions = {
  userId?: string;
  phoneNumber?: string;
};
 
export type BlLifeRechargeOptions<T extends IRequest> = BlLifeRechargeServicesOptions<T> &
  BlLifeRechargeAccountModelOptions & {};