| | |
| | | import javax.validation.Valid; |
| | | |
| | | @RestController |
| | | @RequestMapping(value = "/user") |
| | | @RequestMapping(value = "/api/user") |
| | | @Slf4j |
| | | @Api(value = "系统用户", tags = "系统用户") |
| | | public class AdminUserController { |
| | |
| | | @ApiResponses({@ApiResponse(code = 200, message = "ok", response = AdminUserVo.class)}) |
| | | @PostMapping(value = "/userInPage") |
| | | public Result getUserInPage(@RequestBody @Valid AdminUserDto adminUserDto) { |
| | | log.info("--->{}", SecurityContextHolder.getContext().getAuthentication()); |
| | | return iUserService.getUserInPage(adminUserDto); |
| | | } |
| | | |
| | |
| | | return iUserService.resetPassword(id); |
| | | } |
| | | |
| | | @ApiOperation(value = "查看用户的全部菜单", notes = "查看用户的全部菜单") |
| | | @GetMapping(value = "/userMenu") |
| | | public Result userMenu() { |
| | | return iUserService.userMenu(); |
| | | } |
| | | |
| | | } |