mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-24 11:53:41 +08:00
add field order
This commit is contained in:
@@ -1219,14 +1219,9 @@
|
||||
"format": "int64"
|
||||
},
|
||||
"sortBy": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"ASC",
|
||||
"DESC"
|
||||
]
|
||||
}
|
||||
"type": "string",
|
||||
"description": "排序字段",
|
||||
"example": "name:asc,age:desc"
|
||||
},
|
||||
"offset": {
|
||||
"type": "integer",
|
||||
|
||||
8
frontend/src/api/types/schema.d.ts
vendored
8
frontend/src/api/types/schema.d.ts
vendored
@@ -544,9 +544,11 @@ export interface components {
|
||||
page?: number;
|
||||
/** Format: int64 */
|
||||
size?: number;
|
||||
sortBy?: {
|
||||
[key: string]: "ASC" | "DESC";
|
||||
};
|
||||
/**
|
||||
* @description 排序字段
|
||||
* @example name:asc,age:desc
|
||||
*/
|
||||
sortBy?: string;
|
||||
/** Format: int64 */
|
||||
offset?: number;
|
||||
sortFields?: components["schemas"]["SortFieldObject"][];
|
||||
|
||||
Reference in New Issue
Block a user