Files
admin/src/actions/channel.ts

8 lines
286 B
TypeScript
Raw Normal View History

import type { PageRecord } from "@/lib/api"
2026-01-05 09:14:41 +08:00
import type { Channel } from "@/models/channel"
import { callByUser } from "./base"
export async function getPageChannel(params: { page: number; size: number }) {
2026-01-05 09:14:41 +08:00
return callByUser<PageRecord<Channel>>("/api/admin/channel/page", params)
}