Blame view

src/api/demo/table.ts 382 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { defHttp } from '/@/utils/http/axios';
import { DemoParams, DemoListGetResultModel } from './model/tableModel';

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

/**
 * @description: 获取示例列表值
 */
export function demoListApi(params: DemoParams) {
  return defHttp.request<DemoListGetResultModel>({
    url: Api.DEMO_LIST,
    method: 'GET',
    params,
  });
}