| | |
| | | * 添加人员管理管理管理 |
| | | */ |
| | | @ApiOperation(value = "注册人员管理",notes = "请求参数:TAppUser对象",response = TAppUser.class) |
| | | @PostMapping(value = "/api/t-equipment/add") |
| | | @PostMapping(value = "/api/t-app-user/add") |
| | | public R<Boolean> add(@RequestBody String param) { |
| | | TAppUser dto = JSON.parseObject(param,TAppUser.class); |
| | | long count = appUserService.count(Wrappers.lambdaQuery(TAppUser.class).eq(TAppUser::getAccount, dto.getAccount())); |
| | |
| | | * 查看人员管理详情 |
| | | */ |
| | | @ApiOperation(value = "查看人员管理详情") |
| | | @GetMapping(value = "/open/t-equipment/getDetailById") |
| | | @GetMapping(value = "/open/t-app-user/getDetailById") |
| | | public R<TAppUser> getDetailById() { |
| | | String userId = tokenService.getLoginUserApplet().getUserId(); |
| | | TAppUser appUser = appUserService.getById(userId); |