Browse Source

求解无日志

huangxingxing 4 tháng trước cách đây
mục cha
commit
8b61cacf4b
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      src/main/java/com/miniframe/mdo/service/LogService.java

+ 5 - 5
src/main/java/com/miniframe/mdo/service/LogService.java

@@ -63,11 +63,11 @@ public class LogService {
         } catch (IOException e) {
             e.printStackTrace();
         }
-        CompletableFuture<Void> cf = CompletableFuture.supplyAsync(()->{
-        WebsocketEndPoint webs =  (WebsocketEndPoint) UtilTools.getBean("websocketEndPoint");
-        webs.sendMessageToUser(String.valueOf(pid),log);
-        return null;
-        });
+//        CompletableFuture<Void> cf = CompletableFuture.supplyAsync(()->{
+//        WebsocketEndPoint webs =  (WebsocketEndPoint) UtilTools.getBean("websocketEndPoint");
+//        webs.sendMessageToUser(String.valueOf(pid),log);
+//        return null;
+//        });
     }
     /**
      * 文件内容追加