From b693081cfe5920e050a6107803a669ed4892f81c Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Sun, 8 Oct 2023 18:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=89=E8=90=BD=E5=A5=96=E5=8A=B1=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/tools/comp_configure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/comp_configure.go b/modules/tools/comp_configure.go index 8b28f5b06..65a7aef2c 100644 --- a/modules/tools/comp_configure.go +++ b/modules/tools/comp_configure.go @@ -262,7 +262,7 @@ func (this *MCompConfigure) GetGroupDataByLottery(lotteryId int32, vipLv int32, sztW = append(sztW, _data.Itemwt) sztID = append(sztID, _data) } - if len(sztW) > 0 { + if len(sztW) == 0 { continue } _data := sztID[comm.GetRandW(sztW)]