import { defHttp } from '@/utils/http/axios' import { DemoParams, DemoListGetResultModel } from './model/tableModel' enum Api { DEMO_LIST = '/table/getDemoList' } /** * @description: Get sample list value */ export const demoListApi = (params: DemoParams) => { return defHttp.get({ url: Api.DEMO_LIST, params, headers: { // @ts-ignore ignoreCancelToken: true } }) }