Explorar o código

求解无日志

huangxingxing hai 4 meses
pai
achega
8b61cacf4b
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  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;
+//        });
     }
     /**
      * 文件内容追加