From 3b6ced8185a19c9377aa2a059142f15e3b23cd88 Mon Sep 17 00:00:00 2001
From: bleachtred <bleachtred@163.com>
Date: 星期一, 27 三月 2023 16:35:12 +0800
Subject: [PATCH] update 优化BaseMapperPlus接口 去除 @param <M> Mapper 泛型

---
 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