修复:关闭socketIO

This commit is contained in:
2025-03-06 14:26:54 +08:00
parent 6bd9f5922a
commit 9dd705779c
3 changed files with 14 additions and 5 deletions

View File

@@ -73,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);
} }
} }

View File

@@ -34,6 +34,9 @@ public class CompanyGit implements Serializable {
@ApiModelProperty(value = "厂商") @ApiModelProperty(value = "厂商")
private String brand; private String brand;
@ApiModelProperty(value = "图标")
private String icon;
@ApiModelProperty(value = "企业ID") @ApiModelProperty(value = "企业ID")
private Integer companyId; private Integer companyId;

View File

@@ -43,6 +43,12 @@
<if test="param.createTimeEnd != null"> <if test="param.createTimeEnd != null">
AND a.create_time &lt;= #{param.createTimeEnd} AND a.create_time &lt;= #{param.createTimeEnd}
</if> </if>
<if test="param.keywords != null">
AND (
a.title LIKE CONCAT('%', #{param.keywords}, '%')
OR a.domain LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where> </where>
</sql> </sql>