From 5b623ba0cf530207953c4ec708d6d3706634c139 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 04 九月 2023 10:55:08 +0800 Subject: [PATCH] 新版excel --- 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