Spaces:
Running
Running
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,
}
|