From 94d831eefedd8873ef5806ed3202db0b2765b3f1 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 20 Sep 2024 13:43:35 +0800 Subject: [PATCH] 1 --- bin/adminserver/config/game_switch.json | 12 ++++++++++++ server/matchserver/team/teammgr.go | 1 + 2 files changed, 13 insertions(+) diff --git a/bin/adminserver/config/game_switch.json b/bin/adminserver/config/game_switch.json index 681c83c7..2b29f505 100644 --- a/bin/adminserver/config/game_switch.json +++ b/bin/adminserver/config/game_switch.json @@ -107,6 +107,18 @@ "switch_name": "circuitMatch", "switch_desc": "27-巡回赛" }, + { + "switch_name": "ui.marketNft", + "switch_desc": "28-marketNFT是否显示" + }, + { + "switch_name": "ui.contribution", + "switch_desc": "29-贡献点" + }, + { + "switch_name": "ui.officeSite", + "switch_desc": "30-官网" + }, { "switch_name": "only.allowed.superWhiteList", "switch_desc": "100-只允许至尊白名单用户登录登录" diff --git a/server/matchserver/team/teammgr.go b/server/matchserver/team/teammgr.go index a36d89a6..1a7623ec 100644 --- a/server/matchserver/team/teammgr.go +++ b/server/matchserver/team/teammgr.go @@ -12,6 +12,7 @@ type teamMgr struct { cs.MsgHandlerImpl curIdx int64 teamUuidHash map[string]*team + lastBattleHash map[string]*team } func (this *teamMgr) Init() {