From 55334da20cff4dac840c320eda1d0ca53ba27eda Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 23 九月 2024 14:26:36 +0800 Subject: [PATCH] Merge branch 'master-stander' into master-xlk --- src/main/java/com/hx/util/COSUtil.java | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/hx/util/COSUtil.java b/src/main/java/com/hx/util/COSUtil.java index a10b1e1..92efaba 100644 --- a/src/main/java/com/hx/util/COSUtil.java +++ b/src/main/java/com/hx/util/COSUtil.java @@ -129,16 +129,11 @@ File downloadFile = null; try { GetObjectRequest getObjectRequest; - System.out.println("key:"+key); - System.out.println("bucketName:"+bucketName); - System.out.println("regionName:"+regionName); - System.out.println("regionName:"+regionName+".myqcloud.com"); //鎴彇鏂囦欢鍚嶇О String[] datas = key.split(regionName+".myqcloud.com/"); if(datas.length ==1){ getObjectRequest = new GetObjectRequest(bucketName, datas[0]); }else if(datas.length ==2){ - System.out.println("datas[1]:"+datas[1]); getObjectRequest = new GetObjectRequest(bucketName, datas[1]); }else{ throw new TipsException("鏂囦欢璺緞閿欒銆恔ey銆�"); -- Gitblit v1.8.0