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 | 20 +++++++++++++++----- 1 files changed, 15 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 da84237..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); } @@ -1457,6 +1457,11 @@ return userService.getCommunityList(name,id); } + @GetMapping("/getAllCommunityList") + public R getAllCommunityList(){ + return userService.getAllCommunityList(); + } + @GetMapping("/resetPasswordAccount") public R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account,@RequestParam("appId")String appId){ return userService.resetPassword(type,account,appId); @@ -1508,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