整理swagger接口说明
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
package com.gxwebsoft.common.core.socketio.config;
|
package com.gxwebsoft.common.core.socketio.config;
|
||||||
|
|
||||||
|
import com.corundumstudio.socketio.SocketIOServer;
|
||||||
import com.gxwebsoft.common.core.config.ConfigProperties;
|
import com.gxwebsoft.common.core.config.ConfigProperties;
|
||||||
import com.gxwebsoft.common.core.security.JwtSubject;
|
import com.gxwebsoft.common.core.security.JwtSubject;
|
||||||
import com.gxwebsoft.common.core.security.JwtUtil;
|
import com.gxwebsoft.common.core.security.JwtUtil;
|
||||||
|
import com.gxwebsoft.common.core.socketio.cache.ClientCache;
|
||||||
import com.gxwebsoft.common.core.socketio.handler.SocketIOHandler;
|
import com.gxwebsoft.common.core.socketio.handler.SocketIOHandler;
|
||||||
import com.gxwebsoft.common.system.entity.User;
|
import com.gxwebsoft.common.system.entity.User;
|
||||||
import com.gxwebsoft.common.system.service.UserService;
|
import com.gxwebsoft.common.system.service.UserService;
|
||||||
@@ -71,10 +73,10 @@ public class SocketIOConfig implements InitializingBean {
|
|||||||
config.setKeyStorePassword("123456"); // 设置证书密码
|
config.setKeyStorePassword("123456"); // 设置证书密码
|
||||||
|
|
||||||
// 启动socket服务
|
// 启动socket服务
|
||||||
// SocketIOServer server = new SocketIOServer(config);
|
SocketIOServer server = new SocketIOServer(config);
|
||||||
// server.addListeners(socketIOHandler);
|
server.addListeners(socketIOHandler);
|
||||||
// server.start();
|
server.start();
|
||||||
// ClientCache.setSocketIOServer(server);
|
ClientCache.setSocketIOServer(server);
|
||||||
// logger.debug("Netty SocketIO启动:{}:{}",host,port);
|
logger.debug("Netty SocketIO启动:{}:{}",host,port);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user