From 1078afd071fdb2fcc5c590482df99a28f6322e09 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 29 Jul 2019 19:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B6=85=E6=97=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/KefuController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index cce003f..b074c23 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -169,6 +169,7 @@ class KefuController { public function notifyAllUser() { + set_time_limit(1800); $media_conf = array(); $dbconfs = require('../config/kefu.mysql.cluster.php');; foreach($dbconfs as $dbconf) { @@ -242,7 +243,7 @@ class KefuController { if (isset($share_conf[$row['gameid']])) { $game_conf = $share_conf[$row['gameid']]; if (!isset($media_conf[$row['gameid']])) { - $media_conf['gameid'] = $this->getMediaId($row['gameid']); + $media_conf[$row['gameid']] = $this->getMediaId($row['gameid']); } $game_conf['thumb_media_id'] = $media_conf[$row['gameid']]; $this->sendKefuMsg($row['accountid'],