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