限制TCP和UDP网站操作HTTP网站的功能

This commit is contained in:
刘祥超
2024-04-14 16:45:17 +08:00
parent c25c713ac1
commit 2b26064c7d
24 changed files with 125 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
if serverId == 0 {
return
}
serverIdString := strconv.FormatInt(serverId, 10)
var serverIdString = strconv.FormatInt(serverId, 10)
action.Data["serverId"] = serverId
// 读取server信息
@@ -95,7 +95,7 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
}
// 协议簇
family := ""
var family = ""
if serverConfig.IsHTTPFamily() {
family = "http"
} else if serverConfig.IsTCPFamily() {