From 48a703dec596b5d2c1b04b0b4f7ed0f28c1ca898 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 13 十一月 2023 18:00:50 +0800
Subject: [PATCH] 新增社区共建评论模块2

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
index 6aa1022..b6881a9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
@@ -106,8 +106,16 @@
         {
             communityId=getCommunityId()+"";
         }
+
+        String userId=null;
+
+        if(StringUtils.isEmpty(merchantId))
+        {
+            userId=getUserId()+"";
+        }
+
         return communityService.getList(pageNum,pageSize,goodsId,orderNumber,goodsName,
-                condition,userName,communityId,getUserId()+"",orderType,merchantId);
+                condition,userName,communityId,userId,orderType,merchantId);
     }
 
     /**
@@ -508,4 +516,42 @@
         return communityService.WithdrawGetList(pageNum,pageSize,disposeType, merchantName,merchantId,communityId);
     }
 
+
+    /***************************************************************************************************************
+     *
+     *                               路北社区系统配置   商家折扣      兑换地点信息
+     *
+     ****************************************************************************************************************/
+
+    /**
+     * 详情
+     * @param
+     * @return
+     */
+    @GetMapping("/Community/Config/getData")
+    public R ConfiggetData(@RequestParam("communityId") String communityId)
+    {
+        return communityService.ConfiggetData(communityId);
+    }
+
+
+    /*******************************************************************************************************************
+     *
+     *
+     *                         社区折扣
+     *
+     *
+     ******************************************************************************************************************/
+
+    /**
+     * 分页查询
+     * @param
+     * @return
+     */
+    @GetMapping("/community/discount/getList")
+    public R CommunityDiscountgetList(@RequestParam("communityId") String communityId)
+    {
+        return communityService.CommunityDiscountgetList(communityId);
+    }
+
 }

--
Gitblit v1.7.1