From 6202759f09a145dd131e46d4a8c9005ef2610169 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 29 Jul 2019 14:52:51 +0800 Subject: [PATCH] 1 --- webapp/controller/KefuController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index 4102e3a..ce41a0b 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -55,7 +55,7 @@ class KefuController { error_log($response); $ret = json_decode($response, true); if ($ret['errcode'] == 0) { - if ($gameid == 2001) { + if ($gameid >= 2001 && $gameid < 3000) { if (count($ret['items']) > 0) { $item = $ret['items'][rand() % count($ret['items'])]; error_log(json_encode($item));