| | |
| | | } |
| | | /** |
| | | * 此方法供子模块系统调用,所以不公开在API接口中 |
| | | * 方法功能:验证是否已经登录,如果登录了,再验证权限 |
| | | * 方法功能:验证是否已经登录 |
| | | * @param token 登录用户token |
| | | * @return SsoVo |
| | | */ |
| | |
| | | * @return SsoVo |
| | | */ |
| | | @Hidden |
| | | @GetMapping(path = "ssoCheck") |
| | | public SsoVo ssoCheck(String token, String privilege, String[] allPrivilege, String[] anyPrivilege){ |
| | | @GetMapping(path = "ssoPowerCheck") |
| | | public SsoVo ssoPowerCheck(String token, String privilege, String[] allPrivilege, String[] anyPrivilege){ |
| | | BaUser userPo = this.sv.getByUuid(token) ; |
| | | SsoVo vo = new SsoVo(); |
| | | if(userPo != null){ |