Spaces:
Running
Running
export interface ApiResult<T> { | |
code: ApiResultCode; | |
message: string; | |
data: T; | |
} | |
export enum ApiResultCode { | |
/** | |
* ζε | |
*/ | |
OK = 200, | |
/** | |
* ζͺζζ | |
*/ | |
Unauthorized = 401, | |
/** | |
* ζ ζηθ―·ζ± | |
*/ | |
UnLegal = 451, | |
} | |