Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c604abf
authored
Sep 25, 2023
by
李小龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
29159 平台端--角色管理:新增角色,功能权限,可选菜单要受到租户拥有的菜单权限的限制
parent
f40cf849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
saas-module/src/main/java/com/makeit/controller/plat/PlatMenuController.java
saas-module/src/main/java/com/makeit/controller/plat/PlatMenuController.java
View file @
7c604abf
...
...
@@ -2,6 +2,7 @@ package com.makeit.controller.plat;
import
com.makeit.common.response.ApiResponseEntity
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.global.aspect.tenant.TenantIdUtil
;
import
com.makeit.module.admin.dto.plat.PlatMenuDTOVO
;
import
com.makeit.module.admin.dto.plat.PlatMenuQueryDTO
;
import
com.makeit.service.saas.PlatMenuService
;
...
...
@@ -26,6 +27,7 @@ public class PlatMenuController {
@ApiOperation
(
"树形列表"
)
@PostMapping
(
"tree"
)
public
ApiResponseEntity
<
List
<
PlatMenuDTOVO
>>
treeAuthIgnore
(
@RequestBody
PlatMenuQueryDTO
dto
){
dto
.
setTenantId
(
TenantIdUtil
.
getTenantId
());
return
ApiResponseUtils
.
success
(
platMenuService
.
tree
(
dto
));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment