From 2ded5921d182fc508951ff13e330e92f81e90f12 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 20 四月 2022 16:40:00 +0800
Subject: [PATCH] 修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
index 4e3687b..6f60bfa 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java
@@ -2,6 +2,7 @@
 
 import javax.annotation.Resource;
 
+import com.panzhihua.common.model.dtos.common.EditComActEasyPhotoHandlerDto;
 import com.panzhihua.common.model.dtos.common.EvaluateEasyDto;
 import com.panzhihua.common.model.dtos.common.PageComActEasyPhotoHandlerDto;
 import com.panzhihua.common.model.vos.common.ComActEasyPhotoHandlerVo;
@@ -101,6 +102,19 @@
     public R handleList(@RequestBody PageComActEasyPhotoHandlerDto comActEasyPhotoHandler) {
         comActEasyPhotoHandler.setUserId(this.getUserId());
         return this.communityService.queryEasyPhotoHandler(comActEasyPhotoHandler);
+    }
+    /**
+     * description  edit  编辑数据
+     *
+     * @param comActEasyPhotoHandler 请求参数
+     * @return 编辑结果
+     * @author lyq
+     * @date 2022-03-01 13:45:10
+     */
+    @ApiOperation(value = "提交反馈")
+    @PostMapping("/editEasyPhotoHandler")
+    public R editEasyPhotoHandler(@RequestBody EditComActEasyPhotoHandlerDto comActEasyPhotoHandler) {
+        return this.communityService.editEasyPhotoHandler(comActEasyPhotoHandler);
     }
 
     @ApiOperation(value = "查询随手拍是否有活动", response = ComActEasyPhotoActivityVO.class)
@@ -232,8 +246,8 @@
 
     @ApiOperation(value = "首页广告banner", response = ComOpsAdvVO.class)
     @GetMapping("listadvertisement/noToken")
-    public R listAdvertisement() {
-        return communityService.listAdvertisement();
+    public R listAdvertisement(@RequestParam(value = "type",required = false,defaultValue = "1") Integer type) {
+        return communityService.listAdvertisement(type);
     }
 
     @ApiOperation(value = "分页通知列表", response = SysUserNoticeVO.class)

--
Gitblit v1.7.1