mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
code refactor
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export interface ApiResponse<T> {
|
||||
readonly success: boolean;
|
||||
readonly result: T;
|
||||
}
|
||||
|
||||
export interface ErrorResponse {
|
||||
readonly success: boolean;
|
||||
readonly errorCode: number;
|
||||
readonly errorMessage: string;
|
||||
readonly path: string;
|
||||
}
|
||||
Reference in New Issue
Block a user