Files
admin/src/actions/batch.ts

8 lines
273 B
TypeScript
Raw Normal View History

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