web / types /api.ts
hanbinsite's picture
chore: complete Nuxt 3 project setup with Naive UI, Tailwind, ArtPlayer
d003a1c
Raw History Blame Contribute Delete
189 Bytes
export interface PaginatedData<T> {
list: T[];
total: number;
page: number;
page_size: number;
}
export interface ApiResponse<T = any> {
code: number;
msg: string;
data: T;
}