| | |
| | | |
| | | import com.xcong.farmer.cms.common.response.Result; |
| | | import com.xcong.farmer.cms.modules.system.dto.AdminAddUserDto; |
| | | import com.xcong.farmer.cms.modules.system.dto.AdminDeleteDto; |
| | | import com.xcong.farmer.cms.modules.system.dto.AdminUpdateUserDto; |
| | | import com.xcong.farmer.cms.modules.system.dto.AdminUserDto; |
| | | import com.xcong.farmer.cms.modules.system.service.IUserService; |
| | |
| | | @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.userMenu(); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除系统用户", notes = "删除系统用户") |
| | | @PostMapping(value = "/delObjs") |
| | | public Result delObjs(@RequestBody @Valid AdminDeleteDto adminDeleteDto) { |
| | | return iUserService.delObjs(adminDeleteDto); |
| | | } |
| | | |
| | | } |