vue-vben-admin/src/api/demo/table.ts

18 lines
382 B
TypeScript
Raw Normal View History

2020-10-08 01:35:05 +08:00
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,
});
}