diff --git a/luoo_user/src/main/java/com/luoo/user/service/S3Service.java b/luoo_user/src/main/java/com/luoo/user/service/S3Service.java index e6fbd6c..6dc0651 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/S3Service.java +++ b/luoo_user/src/main/java/com/luoo/user/service/S3Service.java @@ -61,7 +61,7 @@ public class S3Service { * @param key 对象路径 * @param file 文件对象 */ - @Async("awsThreadPoolExecutor") +// @Async("awsThreadPoolExecutor") public int singleUpload(String bucket, String key, MultipartFile file) throws IOException { Long startTime = System.currentTimeMillis() / 1000; PutObjectRequest putObjectRequest = PutObjectRequest.builder()