From f1dd87abd55b8dd95a206c80c0a185d4d4919324 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 25 三月 2023 19:17:17 +0800 Subject: [PATCH] !311 fix 修复超管切换租户后 新增用户校验的租户不正确 Merge pull request !311 from Yjoioooo/5.X --- ruoyi-ui/src/api/system/tenant.js | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/system/tenant.js b/ruoyi-ui/src/api/system/tenant.js index 76ca9ff..82535af 100644 --- a/ruoyi-ui/src/api/system/tenant.js +++ b/ruoyi-ui/src/api/system/tenant.js @@ -36,9 +36,10 @@ } // 绉熸埛鐘舵�佷慨鏀� -export function changeTenantStatus(id, status) { +export function changeTenantStatus(id, tenantId, status) { const data = { id, + tenantId, status } return request({ @@ -72,3 +73,16 @@ }) } +// 鍚屾绉熸埛濂楅 +export function syncTenantPackage(tenantId, packageId) { + const data = { + tenantId, + packageId + } + return request({ + url: '/system/tenant/syncTenantPackage', + method: 'get', + params: data + }) +} + -- Gitblit v1.9.3