101captain
2021-08-30 ea6b0efbfd58ab4a2f0a7c9f504688e7f4e12102
springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java
@@ -1,5 +1,8 @@
package com.panzhihua.service_grid.api;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseAddDTO;
@@ -10,10 +13,8 @@
import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseDetailsVO;
import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO;
import com.panzhihua.service_grid.service.EventApplicationAppReleaseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
/**
 *
@@ -21,7 +22,7 @@
 * @version 1.0
 * @since 1.0
 * @date 2021-05-26
 * */
 */
@Slf4j
@RestController
@RequestMapping("/eventapplicationapprelease")
@@ -32,6 +33,7 @@
    /**
     * 新增APP应用版本信息
     *
     * @param eventApplicationAppReleaseAddDTO
     * @return 新增结果
     */
@@ -42,6 +44,7 @@
    /**
     * 修改APP应用版本信息
     *
     * @param eventApplicationAppReleaseEditDTO
     * @return 维护结果
     */
@@ -52,16 +55,19 @@
    /**
     * 分页查找APP应用版本信息
     *
     * @param pageEventApplicationAppReleaseDTO
     * @return 维护结果
     */
    @PostMapping("/page")
    R<IPage<EventApplicationAppReleaseVO>> query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO){
    R<IPage<EventApplicationAppReleaseVO>>
        query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO) {
        return eventApplicationAppReleaseService.query(pageEventApplicationAppReleaseDTO);
    }
    /**
     * 删除APP应用版本信息
     *
     * @param EventApplicationAppReleaseDeleteDTO
     * @return 平台用户信息
     */
@@ -72,7 +78,9 @@
    /**
     * 查询APP应用版本信息详细信息
     * @param id APP应用版本信息 id
     *
     * @param id
     *            APP应用版本信息 id
     * @return 查找结果
     */
    @PostMapping("/{id}")
@@ -82,6 +90,7 @@
    /**
     * 获取最新版本信息
     *
     * @return  版本信息
     */
    @GetMapping("/edition")