From 32e62c64b2e384d11443cb4ae90177d5664dc8d8 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期五, 17 六月 2022 18:53:31 +0800
Subject: [PATCH] Object返回Json

---
 src/main/java/com/hx/util/COSUtil.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/hx/util/COSUtil.java b/src/main/java/com/hx/util/COSUtil.java
index 8c6a5ca..62cc1fe 100644
--- a/src/main/java/com/hx/util/COSUtil.java
+++ b/src/main/java/com/hx/util/COSUtil.java
@@ -63,6 +63,7 @@
 		}else{
 			imgUrl.append("/"+key);
 		}
+		cosClient.shutdown();
 		return imgUrl.toString();
 
 	}
@@ -103,6 +104,7 @@
 		}else{
 			imgUrl.append("/"+key);
 		}
+		cosClient.shutdown();
 		return imgUrl.toString();
 
 	}

--
Gitblit v1.8.0