From 79ea30958c05cb9a49f1a323ec4b7a3b6cd61824 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 10 十一月 2022 16:07:02 +0800
Subject: [PATCH] 普达物业接口数隔离

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
index bb13f6f..6720ccd 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
@@ -1079,4 +1079,18 @@
         return R.fail();
     }
 
+    /**
+     * 获取社区置顶动态banner
+     * @param communityId
+     * */
+    @Override
+    public R getUserRewardNew(Long userId, Long communityId) {
+        ComActEasyPhotoRewardVO easyPhotoRewardVO=new ComActEasyPhotoRewardVO();
+        List<BannerVO> bannerVOS=this.comActEasyPhotoDAO.getBanner(communityId);
+        if(!bannerVOS.isEmpty()){
+            easyPhotoRewardVO.setBannerVOS(bannerVOS);
+        }
+        return R.ok(easyPhotoRewardVO);
+    }
+
 }

--
Gitblit v1.7.1