feat: first commit
This commit is contained in:
10
src/types/common.ts
Normal file
10
src/types/common.ts
Normal file
@ -0,0 +1,10 @@
|
||||
export interface IPaginationRequest {
|
||||
page?: number; // 页码,默认值为 1
|
||||
pageSize?: number; //每页的数量,默认值为 10
|
||||
}
|
||||
|
||||
export interface IPaginationResponse {
|
||||
page: number; // 当前页码
|
||||
pageSize: number; // 每页的数量
|
||||
hasMore: boolean; // 是否有更多数据
|
||||
}
|
Reference in New Issue
Block a user