| | |
| | | */ |
| | | @PostMapping("detailuser") |
| | | public R<LoginUserInfoVO> detailUser(@RequestParam("userId") Long userId) { |
| | | // return userService.detailUser(userId); |
| | | return userService.getUserInfo(userId+""); |
| | | return userService.detailUser(userId); |
| | | // return userService.getUserInfo(userId+""); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PostMapping("detailusercomunity") |
| | | public R detailUserComunity(@RequestParam("userId") Long userId) { |
| | | CommunityUserInfoVO communityUserInfoVO = new CommunityUserInfoVO(); |
| | | if (userId < 100000000l) { |
| | | communityUserInfoVO = sysUserInputService.detailUserComunity(userId); |
| | | if (communityUserInfoVO==null) { |
| | | communityUserInfoVO = userService.detailUserComunity(userId); |
| | | } else { |
| | | communityUserInfoVO = sysUserInputService.detailUserComunity(userId); |
| | | } |
| | | return R.ok(communityUserInfoVO); |
| | | } |