1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import { requestClient } from '#/api/request'; export namespace DemoTableApi { export interface PageFetchParams { [key: string]: any; page: number; MaxResultCount: number; } } /** * 获取示例表格数据 */ async function getExampleTableApi(params: DemoTableApi.PageFetchParams) { return requestClient.get('/table/list', { params }); } export { getExampleTableApi };