feat: 租户套餐
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { TenantPackage } 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';
|
||||
@@ -14,7 +14,9 @@ enum Api {
|
||||
}
|
||||
|
||||
export function packageList(params?: PageQuery) {
|
||||
return requestClient.get<TenantPackage[]>(Api.packageList, { params });
|
||||
return requestClient.get<PageResult<TenantPackage>>(Api.packageList, {
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 下拉框
|
||||
|
Reference in New Issue
Block a user