This commit is contained in:
aozhiwei 2022-07-01 14:34:24 +08:00
parent cb09e4497f
commit ec0ea9bb92

View File

@ -111,7 +111,7 @@ class TempToolsController extends BaseController {
}
{
foreach ($accounts as &$account) {
$row = $conn->execQuery(
$row = $conn->execQueryOne(
'SELECT MAX(hero_lv) AS max_hero_lv FROM t_hero WHERE account_id=:account_id',
array(
':account_id' => $account['account_id'],
@ -122,7 +122,7 @@ class TempToolsController extends BaseController {
}
{
foreach ($accounts as &$account) {
$row = $conn->execQuery(
$row = $conn->execQueryOne(
'SELECT MAX(quality) AS max_hero_quality FROM t_hero WHERE account_id=:account_id',
array(
':account_id' => $account['account_id'],