xx
孔祥富
2021-03-12 fab1d50fca1bcc38dd37fd7159d5235ddf9593fe
febs-server/febs-server-system/src/main/java/cc/mrbird/febs/server/system/controller/DeptController.java
@@ -83,12 +83,10 @@
    public void setDeptToRedis(){
        deptService.setDeptRedis();
    }
    @GetMapping("userRightDepts")
    public String userRightDepts(){
      log.info("当前用户Id"+operatorId);
      String userRightDepts=userDataPermissionService.findByUserId(operatorId);
      log.info("当前用户权限"+userRightDepts);
      return userRightDepts;
    }
   @GetMapping("userRightDepts")
   public String userRightDepts() {
      String userRightDepts = userDataPermissionService.findByUserId(FebsUtil.getUserId());
      return userRightDepts;
   }
}