From 0dbcef10ee43cdab704ecf5e81fec50e884569e5 Mon Sep 17 00:00:00 2001 From: kongdeqiang <kongdeqiang960204@163.com> Date: 星期三, 16 十月 2024 15:14:18 +0800 Subject: [PATCH] fix:更新手机号入场 --- src/main/java/com/boying/controller/FileInfoController.java | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/boying/controller/FileInfoController.java b/src/main/java/com/boying/controller/FileInfoController.java index a6caf79..71f3ea0 100644 --- a/src/main/java/com/boying/controller/FileInfoController.java +++ b/src/main/java/com/boying/controller/FileInfoController.java @@ -6,8 +6,7 @@ import com.boying.service.FileInfoService; import io.lettuce.core.dynamic.annotation.Param; import io.swagger.models.auth.In; -import io.swagger.v3.oas.annotations.Operation; -import io.swagger.v3.oas.annotations.tags.Tag; + import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.*; @@ -19,7 +18,6 @@ @RestController @RequestMapping("ffzf/fileinfo") @RequiredArgsConstructor -@Tag(description = "ffzf/fileinfo" , name = "鏂囦欢鎺ュ彛锛堝凡搴熷純锛�" ) public class FileInfoController { private final FileInfoService fileInfoService; @@ -29,14 +27,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(",")){ @@ -54,20 +50,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/{filename}") - @Operation(summary = "鏍规嵁璺緞棰勮鍥剧墖" , description = "鏍规嵁璺緞棰勮鍥剧墖" ) public void showImg(@PathVariable String filename,HttpServletResponse response) { fileInfoService.getFile(filename,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