From ef8364a4d41e27a975e73f7c5c9a40e61bccb538 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 14 May 2020 14:03:20 +0800 Subject: [PATCH] 1 --- webapp/controller/ActivityController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ActivityController.class.php b/webapp/controller/ActivityController.class.php index a3dfd5a..fefc819 100644 --- a/webapp/controller/ActivityController.class.php +++ b/webapp/controller/ActivityController.class.php @@ -386,7 +386,7 @@ class ActivityController{ for ($ii = 1; $ii <= count($g_conf_lot_cluster); $ii++) { $l = $this->getDrawTableConfig($ii); $weight += $l['jilv']; - if ($weight > $random) { + if ($weight >= $random) { $key = $ii; break; }