From 0a35a244f60da0d01a3a9142ed154fa9a83c4ad4 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 03 六月 2021 18:25:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- 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