lidongdong
2024-07-30 8bdfb8dc514575d85bdc539b11a08a4ca431d8f1
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -257,8 +257,8 @@
     */
    @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+"");
    }
    /**
@@ -808,10 +808,9 @@
    @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);
    }