From 64b11e539b05798b7b460305d2ee36e81489d8ae Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 03 十二月 2024 17:31:22 +0800
Subject: [PATCH] fix : 新增修改出场接口

---
 src/main/java/com/boying/controller/FileInfo2Controller.java |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/boying/controller/FileInfo2Controller.java b/src/main/java/com/boying/controller/FileInfo2Controller.java
index 17c56b6..1fceedb 100644
--- a/src/main/java/com/boying/controller/FileInfo2Controller.java
+++ b/src/main/java/com/boying/controller/FileInfo2Controller.java
@@ -3,8 +3,6 @@
 import com.boying.entity.FileInfo;
 import com.boying.service.FileInfoService;
 import io.lettuce.core.dynamic.annotation.Param;
-import io.swagger.v3.oas.annotations.Operation;
-import io.swagger.v3.oas.annotations.tags.Tag;
 import lombok.RequiredArgsConstructor;
 import org.springframework.web.bind.annotation.*;
 
@@ -16,7 +14,6 @@
 @RestController
 @RequestMapping("ffzf/fileInfo")
 @RequiredArgsConstructor
-@Tag(description = "ffzf/fileInfo" , name = "鏂囦欢涓婁紶鎺ュ彛" )
 public class FileInfo2Controller {
 
     private final FileInfoService fileInfoService;
@@ -26,14 +23,12 @@
      * @Param downloadPath 鏂囦欢璺緞
      */
     @GetMapping("/download/downloadZip")
-    @Operation(summary = "涓嬭浇zip" , description = "涓嬭浇zip" )
     public void downloadZip(@Param("downloadPath") String downloadPath, HttpServletRequest request, HttpServletResponse response) {
         //涓嬭浇鍥剧墖
         String down = fileInfoService.downloadPathFile(downloadPath, request, response);
     }
 
     @PostMapping("/download/downloadZips")
-    @Operation(summary = "涓嬭浇澶氫釜zip" , description = "涓嬭浇澶氫釜zip" )
     public void downloadZips(String fileIds, HttpServletRequest request, HttpServletResponse response) {
         List<FileInfo> fileInfoList = new ArrayList<>();
         if(fileIds.contains(",")){
@@ -51,20 +46,17 @@
         fileInfoService.downForZip(fileInfoList, request, response);
     }
     @PostMapping("/download/downloadPng")
-    @Operation(summary = "涓嬭浇鍥剧墖" , description = "涓嬭浇鍥剧墖" )
     public void downloadPng(String fileId, HttpServletRequest request, HttpServletResponse response) {
         FileInfo byId = fileInfoService.getById(Integer.parseInt(fileId));
         fileInfoService.downloadPng(byId,request,response);
     }
 
     @GetMapping("/showImg")
-    @Operation(summary = "鏍规嵁璺緞棰勮鍥剧墖" , description = "鏍规嵁璺緞棰勮鍥剧墖" )
     public void showImg( String path,HttpServletResponse response) {
         fileInfoService.getFile(path,response);
     }
 
     @GetMapping("/showImgById/{fileId}")
-    @Operation(summary = "鏍规嵁鏂囦欢id棰勮鍥剧墖" , description = "鏍规嵁鏂囦欢id棰勮鍥剧墖" )
     public void showImgById(@PathVariable Long fileId,HttpServletResponse response) {
         fileInfoService.getFileById(fileId,response);
     }

--
Gitblit v1.9.1