Files
admin/src/actions/batch.ts

8 lines
276 B
TypeScript
Raw Normal View History

import type { PageRecord } from "@/lib/api"
2026-01-05 09:14:41 +08:00
import type { Batch } from "@/models/batch"
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)
}