```
feat: 添加WebSSH功能并重构塔服务 - 添加WebSSH中间件,支持通过
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/butoften/array"
|
||||
)
|
||||
|
||||
func GetServerInfoList(isdebug bool) []ServerInfo {
|
||||
func GetServerInfoList(isdebug int32) []ServerInfo {
|
||||
|
||||
ret := service.NewServerService().GetServer()
|
||||
|
||||
@@ -27,7 +27,9 @@ func GetServerInfoList(isdebug bool) []ServerInfo {
|
||||
tt.UserCnt = 300
|
||||
|
||||
}
|
||||
if v.IsDebug != 0 {
|
||||
if v.IsDebug != 0 && isdebug == 0 {
|
||||
//如果是调试服务器,但是不是测试玩家,直接返回下一个
|
||||
continue
|
||||
|
||||
}
|
||||
tt.Name = v.Name
|
||||
|
||||
Reference in New Issue
Block a user