|
|
@ -33,7 +33,15 @@ export interface TenantExportReqVO { |
|
|
|
|
|
|
|
// 查询租户列表
|
|
|
|
export const getTenantPage = (params: TenantPageReqVO) => { |
|
|
|
return request.get({ url: '/system/tenant/page', params }) |
|
|
|
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 })
|
|
|
|
} |
|
|
|
|
|
|
|
// 查询租户详情
|
|
|
|