|
@@ -63,7 +63,7 @@ public class LogService {
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- if(log.indexOf("求解")>0){
|
|
|
+ if(log.indexOf("求解")>=0){
|
|
|
CompletableFuture<Void> cf = CompletableFuture.supplyAsync(()->{
|
|
|
WebsocketEndPoint webs = (WebsocketEndPoint) UtilTools.getBean("websocketEndPoint");
|
|
|
webs.sendMessageToUser(String.valueOf(pid),log);
|