From 26a9a99f92b584ead7b8c6aba5e7dd41d5c8fbee Mon Sep 17 00:00:00 2001 From: czx <1216764150@qq.com> Date: Tue, 22 Aug 2023 09:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E6=9C=8D=E9=BB=91=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/game/gameAction.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/game/gameAction.go b/app/api/game/gameAction.go index cb99145..42147bf 100644 --- a/app/api/game/gameAction.go +++ b/app/api/game/gameAction.go @@ -1091,7 +1091,7 @@ func (action *Action) SaveSingleBlackList(r *ghttp.Request) { } else { blackList.UnblockTime = -1 } - /*ages := uid + strconv.FormatInt(blackList.UnblockTime, 10) + ages := uid + strconv.FormatInt(blackList.UnblockTime, 10) cmdStr := "addblack" singleResult := gameinfo.ModelServer.FindOne("server_id", serverId) var serverInfo gameinfo.ServerInfo @@ -1117,7 +1117,7 @@ func (action *Action) SaveSingleBlackList(r *ghttp.Request) { base.Resp(r, 1, "thrift打开服务器socket出错", nil) } else if res != 0 { base.Resp(r, 1, "操作失败", nil) - }*/ + } res1 := gameinfo.ModelSingleBlackList.AddBlackList(id, "", blackList) if res1 > 0 { base.Succ(r, g.Map{"code": 0, "result": "操作成功"})