1
This commit is contained in:
parent
d124924beb
commit
ad8aefc276
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user