Blame view

src/api/demo/table.ts 435 Bytes
1
2
3
4
5
6
7
8
import { defHttp } from '/@/utils/http/axios';
import { DemoParams, DemoListGetResultModel } from './model/tableModel';

enum Api {
  DEMO_LIST = '/table/getDemoList',
}

/**
9
 * @description: Get sample list value
10
11
12
13
14
15
 */
export function demoListApi(params: DemoParams) {
  return defHttp.request<DemoListGetResultModel>({
    url: Api.DEMO_LIST,
    method: 'GET',
    params,
16
17
18
    headers: {
      ignoreCancelToken: true,
    },
19
20
  });
}