From 1cc0e33464c564aaba0c8016097334f0b16586a5 Mon Sep 17 00:00:00 2001
From: wangrenhuang <wangren_huang@163.com>
Date: 星期五, 30 六月 2023 20:07:34 +0800
Subject: [PATCH] 新增cos上传签名接口

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

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 ed9dc06..58d843c 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
@@ -2,6 +2,7 @@
 
 import com.hx.resultTool.Result;
 import com.hz.his.dto.file.FileDownDto;
+import com.hz.his.dto.file.FileSignVo;
 import feign.Response;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.http.MediaType;
@@ -46,4 +47,21 @@
     @PostMapping(value = "/cos/download-file")
     Response downloadFile(@RequestBody FileDownDto cosDownDto);
 
+    /**
+     *鐢熸垚绛惧悕璁块棶URL
+     * @param fileSignVo 瀵硅薄
+     * @return 浣跨敤FileSignReturnVo杞寲
+     */
+    @PostMapping(value = "/cos/signUrl")
+    Response downloadFile(@RequestBody FileSignVo fileSignVo);
+
+
+    /**
+     *鐢熸垚涓婁紶绛惧悕
+     * @param fileSignVo 瀵硅薄
+     * @return 浣跨敤FileSignReturnVo杞寲
+     */
+    @PostMapping(value = "/cos/policy")
+    Result policy(@RequestBody FileSignVo fileSignVo);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0