From 5a278a0965b417e7f39e8c209e2ff401f415066a Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 21 二月 2022 14:07:48 +0800
Subject: [PATCH] Merge branch 'hemenkou_dev' into dev

---
 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