diff --git a/apps/web-antd/src/api/system/role/index.ts b/apps/web-antd/src/api/system/role/index.ts index 2a0de1ce..6382fa03 100644 --- a/apps/web-antd/src/api/system/role/index.ts +++ b/apps/web-antd/src/api/system/role/index.ts @@ -1,6 +1,6 @@ import type { DeptResp, Role } from './model'; -import type { ID, IDS, PageQuery } from '#/api/common'; +import type { ID, IDS, PageQuery, PageResult } from '#/api/common'; import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; @@ -21,7 +21,7 @@ enum Api { } export function roleList(params?: PageQuery) { - return requestClient.get(Api.roleList, { params }); + return requestClient.get>(Api.roleList, { params }); } export function roleExport(data: any) {