1
This commit is contained in:
parent
776fc7b50c
commit
d4c59408d8
@ -250,7 +250,7 @@ class KefuController {
|
||||
$share_conf = require('../config/kefu.share.config.php');
|
||||
while (true) {
|
||||
$rows = $conn->execQuery('SELECT idx, accountid, openid, awardtime, gameid ' .
|
||||
"FROM accounts WHERE idx > :last_idx LIMIT 0, 1000;",
|
||||
' FROM accounts WHERE idx > :last_idx LIMIT 0, 1000;',
|
||||
array(
|
||||
':last_idx' => $last_idx,
|
||||
));
|
||||
@ -303,7 +303,7 @@ class KefuController {
|
||||
}
|
||||
$conn = $this->getMysql($accountid);
|
||||
$row = $conn->execQueryOne('SELECT awardtime ' .
|
||||
"FROM accounts WHERE accountid = :accountid;",
|
||||
' FROM accounts WHERE accountid = :accountid;',
|
||||
array(
|
||||
':accountid' => $accountid,
|
||||
));
|
||||
@ -325,9 +325,9 @@ class KefuController {
|
||||
return;
|
||||
}
|
||||
if ($this->sendAwardMail($accountid, $awardConfig)) {
|
||||
$ret = $conn->execScript("UPDATE accounts SET " .
|
||||
$ret = $conn->execScript('UPDATE accounts SET ' .
|
||||
' awardtime=:awardtime ' .
|
||||
'WHERE accountid=:accountid; ',
|
||||
' WHERE accountid=:accountid; ',
|
||||
array(
|
||||
':accountid' => $accountid,
|
||||
':awardtime' => time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user