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

11 lines
329 B
TypeScript
Raw Normal View History

2021-03-01 00:56:25 +08:00
import { Params, DemoListGetResultModel } from './model/systemModel';
import { defHttp } from '/@/utils/http/axios';
enum Api {
// The address does not exist
AccountList = '/system/getAccountList',
}
export const getAccountList = (params: Params) =>
defHttp.get<DemoListGetResultModel>({ url: Api.AccountList, params });