知识库增加租户隔离
This commit is contained in:
@@ -8,6 +8,14 @@ export function getAllMenus() {
|
||||
});
|
||||
}
|
||||
|
||||
// 获取租户菜单(根据角色权限)
|
||||
export function getTenantMenus(roleId) {
|
||||
return request({
|
||||
url: `/api/menus/tenant/${roleId}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 更新菜单状态
|
||||
export function updateMenuStatus(menuId, status) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user