### What problem does this PR solve? fix: test chunk by @tanstack/react-query #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
18 lines
294 B
TypeScript
18 lines
294 B
TypeScript
export interface ResponseType<T = any> {
|
|
retcode: number;
|
|
data: T;
|
|
retmsg: string;
|
|
status: number;
|
|
}
|
|
|
|
export interface ResponseGetType<T = any> {
|
|
data: T;
|
|
loading?: boolean;
|
|
}
|
|
|
|
export interface ResponsePostType<T = any> {
|
|
data: T;
|
|
loading?: boolean;
|
|
[key: string]: unknown;
|
|
}
|