From ad8aefc2768e6eb817f56b41ae120bb499761602 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 26 Jul 2019 17:36:20 +0800 Subject: [PATCH] 1 --- webapp/controller/KefuController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index 48748d6..68e97f1 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -177,7 +177,7 @@ class KefuController { 'port' => $dbconf['port'], 'user' => $dbconf['user'], 'passwd' => $dbconf['passwd'], - 'dbname' => 'kefudb' .$dbconf['instance_id'] + 'dbname' => 'kefudb' . $dbconf['instance_id'] )); $this->sendOneDBInfo($conn); } @@ -223,7 +223,7 @@ class KefuController { private function sendOneDBInfo($conn) { - $mediaId = $this->getMediaId(3003); + $mediaId = $this->getMediaId(2001); $last_idx = 0; while (true) { $rows = $conn->execQuery('SELECT idx, accountid, openid, awardtime ' . @@ -236,7 +236,7 @@ class KefuController { } foreach ($rows as $row) { $shareInfo = require('../config/kefu.share.config.php'); - $shareInfo[3003]['thumb_media_id'] = $mediaId; + $shareInfo[2001]['thumb_media_id'] = $mediaId; $gameid = phpcommon\extractGameId($row['accountid']); $this->sendKefuMsg($row['accountid'], array (