Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
b3800686
Commit
b3800686
authored
Sep 06, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.5.8-hgw-权限-角色-账号
parent
89c58c3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
SysRoleInfoController.java
.../plus/v1/permission/controller/SysRoleInfoController.java
+1
-2
SysUserInfoController.java
.../plus/v1/permission/controller/SysUserInfoController.java
+1
-2
No files found.
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/controller/SysRoleInfoController.java
View file @
b3800686
...
@@ -68,9 +68,8 @@ public class SysRoleInfoController {
...
@@ -68,9 +68,8 @@ public class SysRoleInfoController {
* @param fdId id
* @param fdId id
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询
:hasPermission('ekp_sysroleinfo_get')
"
)
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询"
)
@GetMapping
(
"/{fdId}"
)
@GetMapping
(
"/{fdId}"
)
@PreAuthorize
(
"@pms.hasPermission('ekp_sysroleinfo_get')"
)
public
R
<
SysRoleInfoSaveVo
>
getById
(
@PathVariable
(
"fdId"
)
String
fdId
)
{
public
R
<
SysRoleInfoSaveVo
>
getById
(
@PathVariable
(
"fdId"
)
String
fdId
)
{
return
sysRoleInfoService
.
getInfoById
(
fdId
);
return
sysRoleInfoService
.
getInfoById
(
fdId
);
}
}
...
...
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/controller/SysUserInfoController.java
View file @
b3800686
...
@@ -65,9 +65,8 @@ public class SysUserInfoController {
...
@@ -65,9 +65,8 @@ public class SysUserInfoController {
* @param fdId id
* @param fdId id
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询
:hasPermission('ekp_sysuserinfo_get')
"
)
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询"
)
@GetMapping
(
"/{fdId}"
)
@GetMapping
(
"/{fdId}"
)
@PreAuthorize
(
"@pms.hasPermission('ekp_sysuserinfo_get')"
)
public
R
<
SysUserInfoSaveVo
>
getById
(
@PathVariable
(
"fdId"
)
String
fdId
)
{
public
R
<
SysUserInfoSaveVo
>
getById
(
@PathVariable
(
"fdId"
)
String
fdId
)
{
return
sysUserInfoService
.
getInfoById
(
fdId
);
return
sysUserInfoService
.
getInfoById
(
fdId
);
}
}
...
...
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