From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +0800
Subject: [PATCH] 随手拍改版接口开发
---
springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java
index f8e9445..ee7a5e8 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/api/EventApplicationAppReleaseApi.java
@@ -38,7 +38,7 @@
@PostMapping("/add")
R add(@RequestBody EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO){
return eventApplicationAppReleaseService.add(eventApplicationAppReleaseAddDTO);
- };
+ }
/**
* 修改APP应用版本信息
@@ -48,7 +48,7 @@
@PostMapping("/edit")
R edit(@RequestBody EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO){
return eventApplicationAppReleaseService.edit(eventApplicationAppReleaseEditDTO);
- };
+ }
/**
* 分页查找APP应用版本信息
@@ -58,7 +58,7 @@
@PostMapping("/page")
R<IPage<EventApplicationAppReleaseVO>> query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO){
return eventApplicationAppReleaseService.query(pageEventApplicationAppReleaseDTO);
- };
+ }
/**
* 删除APP应用版本信息
@@ -68,7 +68,7 @@
@PostMapping("/delete")
R delete(@RequestBody EventApplicationAppReleaseDeleteDTO EventApplicationAppReleaseDeleteDTO){
return eventApplicationAppReleaseService.delete(EventApplicationAppReleaseDeleteDTO);
- };
+ }
/**
* 查询APP应用版本信息详细信息
@@ -78,6 +78,15 @@
@PostMapping("/{id}")
R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(@PathVariable("id") Long id){
return eventApplicationAppReleaseService.eventApplicationAppReleaseDetails(id);
- };
+ }
+
+ /**
+ * 获取最新版本信息
+ * @return 版本信息
+ */
+ @GetMapping("/edition")
+ public R editionUpdate(){
+ return eventApplicationAppReleaseService.editionUpdate();
+ }
}
--
Gitblit v1.7.1