1234567891011121314151617181920 |
- 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) =>
- defHttp.get<DemoListGetResultModel>({
- url: Api.DEMO_LIST,
- params,
- headers: {
- // @ts-ignore
- ignoreCancelToken: true,
- },
- });
|