initial commit

This commit is contained in:
yangsy
2025-08-13 01:36:30 +08:00
commit 202f83d157
78 changed files with 5896 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
export interface BasicPageParams {
page: number
pageSize: number
}
export interface BasicFetchResult<T> {
items: T[]
total: number
}
export interface RemoteData {
key: string | number
data?: any
}
export interface PageParams<T> {
model: T
size: number
current: number
sort?: string
order?: string
extra?: any
}
export interface PageResult<T> {
records: T[]
// offset: number
pages: string
current: string
total: string
size: string
orders: any[]
}