|
|
@ -33,8 +33,16 @@ export interface TenantExportReqVO { |
|
|
|
|
|
|
|
// 查询租户列表
|
|
|
|
export const getTenantPage = (params: TenantPageReqVO) => { |
|
|
|
console.log(params) |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = { ...params } |
|
|
|
return request.post({ url: '/system/tenant/senior', data }) |
|
|
|
} else { |
|
|
|
return request.get({ url: '/system/tenant/page', params }) |
|
|
|
} |
|
|
|
// return request.get({ url: '/system/tenant/page', params })
|
|
|
|
} |
|
|
|
|
|
|
|
// 查询租户详情
|
|
|
|
export const getTenant = (id: number) => { |
|
|
|