单服黑名单

master
czx 2023-08-23 17:52:25 +08:00
parent 32190499bf
commit 69511ce63e
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ func (action *Action) SaveSingleBlackList(r *ghttp.Request) {
} else { } else {
blackList.UnblockTime = -1 blackList.UnblockTime = -1
} }
ages := uid + strconv.FormatInt(blackList.UnblockTime, 10) ages := uid + " " + strconv.FormatInt(blackList.UnblockTime, 10)
cmdStr := "addblack" cmdStr := "addblack"
singleResult := gameinfo.ModelServer.FindOne("server_id", serverId) singleResult := gameinfo.ModelServer.FindOne("server_id", serverId)
var serverInfo gameinfo.ServerInfo var serverInfo gameinfo.ServerInfo