mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 12:13:46 +08:00
feat(ui): 新增请求方法及表格
This commit is contained in:
14
gpt-vue/packages/type.d.ts
vendored
Normal file
14
gpt-vue/packages/type.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface BaseResponse<T> {
|
||||
code: number;
|
||||
data?: T;
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export interface ListResponse<T = Record<string, unknown>> {
|
||||
items: T[];
|
||||
page: number;
|
||||
page_size: number;
|
||||
total: number;
|
||||
total_page: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user