From 40bfb646d1b962d33841c1ebbceb0dd7cb668bfb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期二, 29 四月 2025 14:54:04 +0800 Subject: [PATCH] 后台日志管理 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java index 1fb80be..5fc82e9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java @@ -258,6 +258,7 @@ @PostMapping("detailuser") public R<LoginUserInfoVO> detailUser(@RequestParam("userId") Long userId) { return userService.detailUser(userId); +// return userService.getUserInfo(userId+""); } /** @@ -806,11 +807,10 @@ */ @PostMapping("detailusercomunity") public R detailUserComunity(@RequestParam("userId") Long userId) { - CommunityUserInfoVO communityUserInfoVO = new CommunityUserInfoVO(); - if (userId < 100000000l) { + CommunityUserInfoVO communityUserInfoVO; + communityUserInfoVO = sysUserInputService.detailUserComunity(userId); + if (communityUserInfoVO==null) { communityUserInfoVO = userService.detailUserComunity(userId); - } else { - communityUserInfoVO = sysUserInputService.detailUserComunity(userId); } return R.ok(communityUserInfoVO); } @@ -1513,8 +1513,8 @@ } @GetMapping("/myFeedBack") - public R myFeedBack(@RequestParam("userId")Long id,@RequestParam(value = "type",required = false)Integer type){ - return userService.myFeedBack(id,type); + public R myFeedBack(@RequestParam("userId")Long id,@RequestParam(value = "type",required = false)Integer type,@RequestParam("propertyId")Long propertyId){ + return userService.myFeedBack(id,type,propertyId); } @GetMapping("/propertyCheck") -- Gitblit v1.7.1