huanghongfa
2021-09-02 177249c76aeea0b4bf8d8816d4994e3b445b45ce
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EasyPhotoActivityApi.java
@@ -1,15 +1,17 @@
package com.panzhihua.service_community.api;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.*;
import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.service.ComActEasyPhotoActivityService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@RestController
@@ -21,7 +23,9 @@
    /**
     * 社区后台-分页查询随手拍活动列表
     * @param pageEasyPhotoActivityDTO  请求参数
     *
     * @param pageEasyPhotoActivityDTO
     *            请求参数
     * @return  随手拍活动列表
     */
    @PostMapping("/page")
@@ -31,7 +35,9 @@
    /**
     * 社区后台-添加随手拍活动
     * @param addEasyPhotoActivityDTO   请求参数
     *
     * @param addEasyPhotoActivityDTO
     *            请求参数
     * @return  添加结果
     */
    @PostMapping("/add")
@@ -41,7 +47,9 @@
    /**
     * 社区后台-编辑随手拍活动
     * @param editEasyPhotoActivityDTO  请求参数
     *
     * @param editEasyPhotoActivityDTO
     *            请求参数
     * @return  编辑结果
     */
    @PostMapping("/edit")
@@ -51,7 +59,9 @@
    /**
     * 社区后台-取消随手拍活动
     * @param id    随手拍活动id
     *
     * @param id
     *            随手拍活动id
     * @return  取消结果
     */
    @GetMapping("/cancel")
@@ -61,7 +71,9 @@
    /**
     * 分页查询随手拍活动下居民参与记录
     * @param pageEasyPhotoActivityUserDTO  请求参数
     *
     * @param pageEasyPhotoActivityUserDTO
     *            请求参数
     * @return  居民参与记录
     */
    @PostMapping("/page/user")