调整列表字段和枚举值转换

This commit is contained in:
Eamon
2026-01-05 09:14:41 +08:00
parent a27e856f07
commit 054b8954c4
23 changed files with 571 additions and 222 deletions

View File

@@ -1,7 +1,7 @@
import type { PageRecord } from "@/lib/api"
import type { User } from "@/models/user"
import type { Batch } from "@/models/batch"
import { callByUser } from "./base"
export async function getPageBatch(params: { page: number; size: number }) {
return callByUser<PageRecord<User>>("/api/admin/batch/page", params)
return callByUser<PageRecord<Batch>>("/api/admin/batch/page", params)
}