From 263eb35250f6eebec93a4ca0c40adb0610e98de6 Mon Sep 17 00:00:00 2001 From: ANDRU-PC\Andru <769883346@qq.com> Date: 星期一, 03 七月 2023 10:16:43 +0800 Subject: [PATCH] 请求方法调整 --- phis-feign/src/main/java/com/hz/his/dto/file/FileSignVo.java | 6 ++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SFileService.java | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/file/FileSignVo.java b/phis-feign/src/main/java/com/hz/his/dto/file/FileSignVo.java index 45762f9..4403155 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/file/FileSignVo.java +++ b/phis-feign/src/main/java/com/hz/his/dto/file/FileSignVo.java @@ -16,4 +16,10 @@ private String method; + public FileSignVo() { + } + + public FileSignVo(String fileUrl) { + this.fileUrl = fileUrl; + } } diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SFileService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SFileService.java index 58d843c..5a4670b 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SFileService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SFileService.java @@ -53,8 +53,7 @@ * @return 浣跨敤FileSignReturnVo杞寲 */ @PostMapping(value = "/cos/signUrl") - Response downloadFile(@RequestBody FileSignVo fileSignVo); - + Result signUrl(@RequestBody FileSignVo fileSignVo); /** *鐢熸垚涓婁紶绛惧悕 -- Gitblit v1.8.0