Procházet zdrojové kódy

增加websocket服务,修改占用端口8888->8889

xiewenjie před 3 roky
rodič
revize
d9ad5c263d

+ 0 - 1
startJar.sh

@@ -84,7 +84,6 @@ status(){
 # 重启命令其实就是先执行关闭命令 再执行重启命令
 restart(){
     stop $1
-    sleep 1s
     start $1
 }
 

+ 1 - 1
sxz-core/src/main/java/com/fdkk/sxz/webApi/socketController/ComponentSocket.java

@@ -39,7 +39,7 @@ import java.util.concurrent.Future;
 /**
  * @author XieWj
  */
-@ServerEndpoint(path = "/componentWSS/", port = "8888")
+@ServerEndpoint(path = "/componentWSS/", port = "8889")
 @Slf4j
 public class ComponentSocket {