From d5c417181f625a0c219efa15483990c3cf01b5fd Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 20 八月 2021 11:09:31 +0800
Subject: [PATCH] 随手拍改版接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java
index daf0835..68ff014 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java
@@ -1551,6 +1551,12 @@
         return comActQuestnaireService.usersAnsweQuestnaire(usersAnswerQuestnaireVO);
     }
 
+    /**
+     * 小程序-用户弹窗添加不在提醒接口
+     * @param questId   问卷id
+     * @param userId    用户id
+     * @return  添加结果
+     */
     @GetMapping("questnaire/add/noNotice")
     public R addNoNotice(@RequestParam("questId") Long questId,@RequestParam("userId") Long userId){
         return comActQuestnaireService.addNoNotice(questId,userId);
@@ -1839,29 +1845,61 @@
         return comActActivityService.timedTaskActivityNotice();
     }
 
-
+    /**
+     * 问卷调查统计汇总
+     * @param summaryDTO   请求参数
+     * @return  统计汇总
+     */
     @PostMapping("questnaire/statisticsSummary")
     public R statisticsSummary(@RequestBody StatisticsSummaryDTO summaryDTO) {
         return comActQuestnaireService.statisticsSummary(summaryDTO);
     }
 
+    /**
+     * 问卷调查统计汇总导出数据查询
+     * @param questId   调查问卷id
+     * @return  调查统计汇总导出数据
+     */
     @GetMapping("questnaire/statisticsSummary/export")
     public R statisticsSummaryExport(@RequestParam("questId") Long questId) {
         return comActQuestnaireService.statisticsSummaryExport(questId);
     }
 
+    /**
+     * 问卷调查统计汇总表头统计
+     * @param questId   调查问卷id
+     * @return  问卷调查统计汇总表头统计数据
+     */
     @GetMapping("questnaire/statisticsSummary/header")
     public R statisticsSummaryHeader(@RequestParam("questId") Long questId) {
         return comActQuestnaireService.statisticsSummaryHeader(questId);
     }
 
+    /**
+     * 定时任务检测待发布,调研中的问卷调查状态
+     */
     @PostMapping("timedTaskQuestionnaire")
     public R timedTaskQuestionnaire(){
         return comActQuestnaireService.timedTaskQuestionnaire();
     }
 
+    /**
+     * 小程序-新增问卷调查浏览数量
+     * @param questId   问卷调查id
+     * @return  增加结果
+     */
     @GetMapping("questnaire/add/view")
     public R addQuestnaireView(@RequestParam("questId") Long questId) {
         return comActQuestnaireService.addQuestnaireView(questId);
     }
+
+    /**
+     * 社区后台-切换随手拍公示状态
+     * @param comActEasyPhotoVO 请求参数
+     * @return  切换结果
+     */
+    @PostMapping("easyphoto/switch/publicity")
+    public R easyPhotoSwitchPublicity(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO) {
+        return comActEasyPhotoService.easyPhotoSwitchPublicity(comActEasyPhotoVO);
+    }
 }

--
Gitblit v1.7.1