From bc835f7b8d4ab951999ff7a08bf62d18daa0461e Mon Sep 17 00:00:00 2001 From: EricsHu <hrr145632> Date: 星期日, 25 六月 2023 16:59:36 +0800 Subject: [PATCH] 关闭定时器 --- src/main/java/com/qxueyou/scc/teach/res/service/HweiYunOBSService.java | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/qxueyou/scc/teach/res/service/HweiYunOBSService.java b/src/main/java/com/qxueyou/scc/teach/res/service/HweiYunOBSService.java index 0b83fa3..3b2a896 100644 --- a/src/main/java/com/qxueyou/scc/teach/res/service/HweiYunOBSService.java +++ b/src/main/java/com/qxueyou/scc/teach/res/service/HweiYunOBSService.java @@ -1,17 +1,21 @@ package com.qxueyou.scc.teach.res.service; - + +import com.obs.services.model.PutObjectResult; +import com.qxueyou.scc.base.model.FileMeta; import org.springframework.web.multipart.MultipartFile; - + +import java.io.IOException; import java.io.InputStream; import java.util.List; - +import java.util.Map; + /** * @Description 鍗庝负浜慜BS鏈嶅姟鎺ュ彛 * @author wuhuiju * @date 2022/12/2 17:01 */ public interface HweiYunOBSService { - + /** * @Description 鍒犻櫎鏂囦欢 * @author wuhuiju @@ -20,7 +24,7 @@ * @return: boolean 鎵ц缁撴灉 */ boolean delete(String objectKey); - + /** * @Description 鎵归噺鍒犻櫎鏂囦欢 * @author wuhuiju @@ -29,7 +33,7 @@ * @return: boolean 鎵ц缁撴灉 */ boolean delete(List<String> objectKeys); - + /** * @Description 涓婁紶鏂囦欢 * @author wuhuiju @@ -38,8 +42,9 @@ * @param: objectKey 鏂囦欢鍚嶇О * @return: java.lang.String url璁块棶璺緞 */ - String fileUpload(MultipartFile uploadFile, String objectKey); - + List<FileMeta> fileUpload(MultipartFile uploadFile, String objectKey); + + List<FileMeta> fnepian(MultipartFile uploadFile,String objectKey) throws IOException; /** * @Description 鏂囦欢涓嬭浇 * @author wuhuiju @@ -49,4 +54,3 @@ */ InputStream fileDownload(String objectKey); } - \ No newline at end of file -- Gitblit v1.8.0