From ec3c2137e3e471ef962e18f0ee8f965ac21d0388 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期四, 21 七月 2022 11:39:27 +0800
Subject: [PATCH] 修改

---
 phis-feign/src/main/java/com/hz/his/feign/service/SFileService.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SFileService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SFileService.java
index 8a15d33..aec887b 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/SFileService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/SFileService.java
@@ -34,8 +34,8 @@
      * @param bucketName 瀛樺偍妗跺悕绉�
      * @return
      */
-    @RequestMapping(value = "/cos/upload-file",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
-    Result upload(@RequestPart("file") File file, @RequestParam("folderCode") String folderCode, @RequestParam("bucketName")String bucketName);
+    @RequestMapping(value = "/cos/upload-file")
+    Result upload(@RequestParam("file") File file, @RequestParam("folderCode") String folderCode, @RequestParam("bucketName")String bucketName);
     /**
      *涓嬭浇鍥剧墖
      * 鍙互浣跨敤 FileDownUtil.downToFile()鏂规硶杞寲涓烘枃浠�

--
Gitblit v1.8.0