Commit b3800686 authored by hongguangwu's avatar hongguangwu

1.5.8-hgw-权限-角色-账号

parent 89c58c3f
......@@ -68,9 +68,8 @@ public class SysRoleInfoController {
* @param fdId id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('ekp_sysroleinfo_get')")
@Operation(summary = "通过id查询", description = "通过id查询")
@GetMapping("/{fdId}")
@PreAuthorize("@pms.hasPermission('ekp_sysroleinfo_get')")
public R<SysRoleInfoSaveVo> getById(@PathVariable("fdId") String fdId) {
return sysRoleInfoService.getInfoById(fdId);
}
......
......@@ -65,9 +65,8 @@ public class SysUserInfoController {
* @param fdId id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('ekp_sysuserinfo_get')")
@Operation(summary = "通过id查询", description = "通过id查询")
@GetMapping("/{fdId}")
@PreAuthorize("@pms.hasPermission('ekp_sysuserinfo_get')")
public R<SysUserInfoSaveVo> getById(@PathVariable("fdId") String fdId) {
return sysUserInfoService.getInfoById(fdId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment