import { defHttp } from '@jdlinker/func'; import { DemoParams, DemoListGetResultModel } from './model/tableModel'; enum Api { DEMO_LIST = '/mock/table/getDemoList' } /** * @description: Get sample list value */ export const demoListApi = (params: DemoParams) => defHttp.get({ url: Api.DEMO_LIST, params, headers: { ignoreCancelToken: true } });