chore: update request error message

This commit is contained in:
steven
2023-03-29 16:37:29 +08:00
parent ceaf64ee9e
commit e5bbec24a6
9 changed files with 71 additions and 33 deletions

5
types/api.ts Normal file
View File

@ -0,0 +1,5 @@
export type ResponseObject<T> = {
data: T;
message?: string;
code?: string;
};