From 3a415dab9cc3d74a4d858a14e9a5dbcd1a8fc449 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 04 九月 2023 16:14:48 +0800
Subject: [PATCH] 修改后台社区动态加载不出来

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
index 3954372..9f7c532 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
@@ -174,8 +174,9 @@
             String appId = getAppId();
             comEvent.setAppId(appId);
         }
+        comEvent.setCommunityId(loginUserInfo.getCommunityId());
         LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo();
-//        loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
+//        loginUserInfo1.setType(userService.detailUser(this.getUserId()).getData().getType());
         loginUserInfo1.setType(loginUserInfo.getType());
         return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1);
     }

--
Gitblit v1.7.1