2025-12-30 18:35:37 +08:00
|
|
|
import type { PageRecord } from "@/lib/api"
|
2026-01-05 09:14:41 +08:00
|
|
|
import type { Batch } from "@/models/batch"
|
2025-12-30 18:35:37 +08:00
|
|
|
import { callByUser } from "./base"
|
|
|
|
|
|
|
|
|
|
export async function getPageBatch(params: { page: number; size: number }) {
|
2026-01-05 09:14:41 +08:00
|
|
|
return callByUser<PageRecord<Batch>>("/api/admin/batch/page", params)
|
2025-12-30 18:35:37 +08:00
|
|
|
}
|