From 8bdfb8dc514575d85bdc539b11a08a4ca431d8f1 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 30 七月 2024 14:14:20 +0800 Subject: [PATCH] 花城 修改小程序微信用户管理报错2 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 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 6c33fee..5202303 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+""); } /** @@ -807,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); } @@ -1513,8 +1513,13 @@ } @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") + public R propertyCheck(@RequestParam String phone){ + return userService.propertyCheck(phone); } } -- Gitblit v1.7.1