修改分页总条数显示

pull/4/head
fangjiakai 2024-02-27 10:30:15 +08:00
parent 6ce8b6669e
commit cb0819f3e3
1 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package com.zcloud.config; package com.zcloud.config;
import com.zcloud.plugins.websocketFace.FaceServer;
import org.java_websocket.WebSocketImpl; import org.java_websocket.WebSocketImpl;
import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner; import org.springframework.boot.ApplicationRunner;
@ -17,7 +18,22 @@ public class StartWebsocketServer implements ApplicationRunner{
@Override @Override
public void run(ApplicationArguments var1) throws Exception{ public void run(ApplicationArguments var1) throws Exception{
startWebsocketInstantFace(); //启动定时人脸识别服务
System.out.println("-------------------系统启动成功-------------------"); System.out.println("-------------------系统启动成功-------------------");
} }
/**
*
*/
public void startWebsocketInstantFace(){
WebSocketImpl.DEBUG = false;
FaceServer s;
try {
String imPort = "8899"; //即时通讯端口
s = new FaceServer(Integer.parseInt(imPort));
s.start();
} catch (Exception e) {
e.printStackTrace();
}
}
} }