init
This commit is contained in:
13
app/types/base.ts
Normal file
13
app/types/base.ts
Normal file
@ -0,0 +1,13 @@
|
||||
export interface BaseResponse<T> {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: T;
|
||||
}
|
||||
|
||||
export interface PageData<T> {
|
||||
count: number;
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
extend: any;
|
||||
lists: T[];
|
||||
}
|
Reference in New Issue
Block a user