File size: 277 Bytes
d669ddb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export interface ApiResult<T> {
  code: ApiResultCode;
  message: string;
  data: T;
}

export enum ApiResultCode {
  /**

   * 成功

   */
  OK = 200,

  /**

   * ζœͺζŽˆζƒ

   */
  Unauthorized = 401,

  /**

   * ζ— ζ•ˆηš„θ―·ζ±‚

   */
  UnLegal = 451,
}