table.ts 382 B

1234567891011121314151617
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { DemoParams, DemoListGetResultModel } from './model/tableModel';
  3. enum Api {
  4. DEMO_LIST = '/table/getDemoList',
  5. }
  6. /**
  7. * @description: 获取示例列表值
  8. */
  9. export function demoListApi(params: DemoParams) {
  10. return defHttp.request<DemoListGetResultModel>({
  11. url: Api.DEMO_LIST,
  12. method: 'GET',
  13. params,
  14. });
  15. }