| | |
| | | * @return |
| | | */ |
| | | @GetMapping(path="one") |
| | | @SsoPowerAop(power = "10100004") //登录与权限同时验证 |
| | | @SsoPowerAop(power = "10100002") //登录与权限同时验证 |
| | | @Log("根据ID查询角色信息") |
| | | public BaseResponse<BaRole> one(String id){ |
| | | BaRole role=roleSv.selectById(id); |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping(path="all") |
| | | @SsoPowerAop(power = "10100004") //登录与权限同时验证 |
| | | @SsoPowerAop(power = "10100002") //登录与权限同时验证 |
| | | @Log("查询所有角色") |
| | | public BaseResponse<List<BaRole>> all(String id){ |
| | | List<BaRole> roles=roleSv.selectAll(); |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping(path="some") |
| | | @SsoPowerAop(power = "10100004") |
| | | @SsoPowerAop(power = "10100002") |
| | | @Log("查询角色信息") |
| | | public BaseResponse<QueryResultVo<List<BaRole>>> some(@RequestBody QueryVo vo){ |
| | | QueryResultVo<List<BaRole>> list = roleSv.selectSome(vo) ; |