Browse Source

截图定时优化

wyyay 10 months ago
parent
commit
d46d2e544e

+ 3 - 1
business-service/src/main/java/com/ozs/service/utils/FileUploader.java

@@ -39,7 +39,9 @@ public class FileUploader {
 
             // 发送请求并获取响应
             int responseCode = connection.getResponseCode();
-            log.info("responseCode:"+responseCode);
+            if (log.isDebugEnabled()) {
+                log.debug("file transfer responseCode:"+responseCode);
+            }
             if (responseCode == HttpURLConnection.HTTP_OK) {
                 System.out.println("File uploaded successfully!");
             } else {