diff --git a/luoo_music/src/main/java/com/luoo/music/service/S3Service.java b/luoo_music/src/main/java/com/luoo/music/service/S3Service.java index 09122aa..1573218 100644 --- a/luoo_music/src/main/java/com/luoo/music/service/S3Service.java +++ b/luoo_music/src/main/java/com/luoo/music/service/S3Service.java @@ -114,9 +114,9 @@ public class S3Service { return true; } catch (Exception e) { return false; - } finally { + } /*finally { s3Client.close(); - } + }*/ } /** @@ -140,9 +140,9 @@ public class S3Service { } } catch (Exception e) { return -1; - } finally { + } /*finally { s3Client.close(); - } + }*/ return 1; } @@ -170,9 +170,9 @@ public class S3Service { } } catch (Exception e) { return -1; - } finally { + } /*finally { s3Client.close(); - } + }*/ } /** @@ -195,9 +195,9 @@ public class S3Service { } } catch(Exception e) { return -1; - } finally { + } /*finally { s3Client.close(); - } + }*/ } public void uploadAvatar(String bucket, String key, byte[] buffer) {