Files
admin/src/actions/batch.ts

19 lines
441 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
user_phone?: string
resource_no?: string
batch_no?: string
prov?: string
city?: string
isp?: string
created_at_start?: Date
created_at_end?: Date
}) {
2026-01-05 09:14:41 +08:00
return callByUser<PageRecord<Batch>>("/api/admin/batch/page", params)
}