From c8332186836b3dfe1fbd32d7bec7cd29a57e1888 Mon Sep 17 00:00:00 2001
From: whycrzh <ruanzhigang@whycst.com>
Date: 星期四, 28 一月 2021 10:06:22 +0800
Subject: [PATCH] update swagger online API

---
 src/main/java/com/fgkj/controller/ResDataUploadController.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/fgkj/controller/ResDataUploadController.java b/src/main/java/com/fgkj/controller/ResDataUploadController.java
index 6cbfc83..58b59f0 100644
--- a/src/main/java/com/fgkj/controller/ResDataUploadController.java
+++ b/src/main/java/com/fgkj/controller/ResDataUploadController.java
@@ -7,6 +7,7 @@
 import com.fgkj.util.*;
 import com.google.gson.Gson;
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
@@ -21,7 +22,7 @@
 
 @RequestMapping("resDataUpload")
 @RestController
-@Api
+@Api(tags = "resDataUpload鎺ュ彛")
 public class ResDataUploadController{
 
 	/*private String tableRowData;
@@ -34,6 +35,7 @@
 	private ResDataUploadService service;
 
 	@PostMapping("uploadResFile")
+	@ApiOperation(notes = "",value="涓婁紶鏂囦欢")
 	public boolean uploadResfile(@RequestParam String tableRowData,int battgroupid,File[] file,String[] fileFileName){
 		boolean res=false;
 
@@ -57,6 +59,7 @@
 	
 	// 鍋滄涓婁紶
 	@PutMapping("stopResUpload")
+	@ApiOperation(notes = "",value="鍋滄涓婁紶")
 	public DLG_Progress stopResUpload() {
 		HttpSession session = ActionUtil.getSession();
 		DLG_Progress progress = (DLG_Progress) session.getAttribute("Resprogress");
@@ -68,6 +71,7 @@
 
 	// 鏌ヨ杩涘害
 	@GetMapping("resProgress")
+	@ApiOperation(notes = "",value="鏌ヨ杩涘害")
 	public ServiceModel selectResprogress() {
 		ServiceModel model = new ServiceModel();
 

--
Gitblit v1.9.1