From 37fade33b20eda05ee3d90dc023341035fbe5dc3 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期五, 18 二月 2022 16:02:43 +0800 Subject: [PATCH] 党建接口开发 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java index f8adba2..99ecce8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java @@ -153,6 +153,7 @@ public R putUserAuthentication(@RequestBody @Validated(AddGroup.class) LoginUserInfoVO loginUserInfoVO) { Long userId = this.getUserId(); loginUserInfoVO.setUserId(userId); + loginUserInfoVO.setCommunityId(this.getCommunityId()); R r = userService.putUserAuthentication(loginUserInfoVO); if (R.isOk(r)) { // 通过发通知 @@ -280,7 +281,7 @@ comActActivityVOS = (List<ComActActivityVO>)r.getData(); } R r1 = partyBuildingService.listActivity(userId, communityId, status); - if (R.isOk(r1)) { + if (R.isOk(r1)&&r1.getData()!=null) { List<ComActActivityVO> data = (List<ComActActivityVO>)r1.getData(); comActActivityVOS.addAll(data); } -- Gitblit v1.7.1