Files
tydata-admin/playground/src/api/examples/table.ts

19 lines
387 B
TypeScript
Raw Normal View History

2025-06-08 20:16:51 +08:00
import { requestClient } from '#/api/request';
export namespace DemoTableApi {
export interface PageFetchParams {
[key: string]: any;
page: number;
pageSize: number;
}
}
/**
*
*/
async function getExampleTableApi(params: DemoTableApi.PageFetchParams) {
return requestClient.get('/table/list', { params });
}
export { getExampleTableApi };