refactor(rpc): 重构服务器信息获取逻辑,移除冗余锁机制并优化踢人逻辑

This commit is contained in:
1
2025-11-03 15:30:41 +00:00
parent 35935549bd
commit e86e138d94
8 changed files with 44 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ func (h *Controller) COMMEND_ONLINE(data *user.SidInfo, c gnet.Conn) (result *rp
result.IsVip = 1
}
result.ServerList = rpc.GetServerInfoList1() //todo 待修改增加缓存
result.ServerList = rpc.GetServerInfoList() //todo 待修改增加缓存
return