| | |
| | | } |
| | | return Result.fail(map.get("info")); |
| | | } |
| | | @ValueClassify("用户管理") |
| | | @ValueAuth |
| | | @ApiOperation(value = "获取用户列表") |
| | | @PostMapping("/selectUserList") |
| | | public Result selectUserList(@RequestBody Map<String, Object> data) throws Exception { |
| | |
| | | public Result<?> getUserMenu() { |
| | | return Result.success(userService.getUserMenu()); |
| | | } |
| | | @ValueClassify("用户管理") |
| | | @ValueAuth |
| | | @ApiOperation(value = "获取客户列表") |
| | | @PostMapping("/selectCustomPageList") |
| | | public Result selectCustomPageList(@RequestBody Map<String, Object> data) throws Exception { |
| | |
| | | Custom custom = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), Custom.class); |
| | | return Result.success(customService.selectCustomPageList(page, custom)); |
| | | } |
| | | @ValueClassify("用户管理") |
| | | @ValueClassify("客户管理") |
| | | @ApiOperation(value = "删除客户信息") |
| | | @PostMapping("/delCustomById") |
| | | public Result<?> delCustomById(Integer id) { |
| | | return Result.success(customService.delCustomById(id)); |
| | | } |
| | | @ValueClassify("用户管理") |
| | | @ValueClassify("客户管理") |
| | | @ApiOperation(value = "新增客户信息") |
| | | @PostMapping("/addCustom") |
| | | public Result<?> addCustom(@RequestBody Custom custom) { |