File size: 292 Bytes
9ee6e3a
196c662
9ee6e3a
196c662
09502ac
 
3c31ff9
 
 
 
 
36b496a
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export interface ResponseType<T = any> {
  code: number;
  data: T;
  message: string;
  status: number;
}

export interface ResponseGetType<T = any> {
  data: T;
  loading?: boolean;
}

export interface ResponsePostType<T = any> {
  data: T;
  loading?: boolean;
  [key: string]: unknown;
}