Ben Lin
2025-03-11 8e977a7ec92bc1845079eda2473e9c3fc4691c8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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,
    },
  });