From e7c6ca7869eca24c97ee651bf73394cfd1cc4bad Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 27 五月 2021 17:45:38 +0800
Subject: [PATCH] 网格综治app随手拍

---
 springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EasyPhotoApi.java |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EasyPhotoApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EasyPhotoApi.java
index 932384a..e7e51e0 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EasyPhotoApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EasyPhotoApi.java
@@ -1,5 +1,6 @@
 package com.panzhihua.service_grid.api;
 
+import com.panzhihua.common.model.dtos.grid.ComActEasyPhotoHandleDTO;
 import com.panzhihua.common.model.dtos.grid.PageEasyAppDTO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.service_grid.service.ComActEasyPhotoService;
@@ -54,4 +55,34 @@
     public R typeList(){
         return comActEasyPhotoTypeService.typeList();
     }
+
+    /**
+     * 随手拍处理
+     * @param photoHandleDTO    请求参数
+     * @return  处理结果
+     */
+    @PostMapping("handle")
+    public R easyHandle(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO){
+        return comActEasyPhotoService.easyHandle(photoHandleDTO);
+    }
+
+    /**
+     * 随手拍公示状态切换
+     * @param photoHandleDTO    请求参数
+     * @return  切换结果
+     */
+    @PostMapping("publicity")
+    public R easyPublicity(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO){
+        return comActEasyPhotoService.easyPublicity(photoHandleDTO);
+    }
+
+    /**
+     * 随手拍上报社区
+     * @param photoHandleDTO    请求参数
+     * @return  上报结果
+     */
+    @PostMapping("report")
+    public R easyReport(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO){
+        return comActEasyPhotoService.easyReport(photoHandleDTO);
+    }
 }

--
Gitblit v1.7.1