| | |
| | | private NoticeRecordService noticeRecordService; |
| | | @Resource |
| | | private AppUserBlackService appUserBlackService; |
| | | |
| | | /** |
| | | * 远程调用 保存邀请码 |
| | | */ |
| | | @PostMapping("/saveQrCode") |
| | | public R saveQrCode(@RequestBody AppUser appUser){ |
| | | appUserService.updateById(appUser); |
| | | return R.ok(); |
| | | } |
| | | /** |
| | | * 远程调用 查询用户信息 |
| | | */ |
| | | @GetMapping("/getUserById/{id}") |
| | | public R<AppUser> getUserById(@PathVariable("id") Long id){ |
| | | AppUser byId = appUserService.getById(id); |
| | | if (byId==null){ |
| | | return R.fail(); |
| | | }else{ |
| | | return R.ok(byId); |
| | | } |
| | | } |
| | | /** |
| | | * 远程调用 查询当前登陆人拉黑列表 |
| | | * @param appUserId |