This commit is contained in:
aozhiwei 2022-06-03 09:27:16 +08:00
parent 0303a7cecf
commit cb094fcf14

View File

@ -73,7 +73,6 @@ class TempToolsController extends BaseController {
$accounts = array();
$conn = myself()->_getMysql('');
{
$count = 1000;
$rows = $conn->execQuery(
'SELECT * FROM t_rank_activity ' .
'WHERE type=:type AND channel=:channel AND value>=:value ' .
@ -90,7 +89,8 @@ class TempToolsController extends BaseController {
array_push($accounts, array(
'account_id' => $row['account_id'],
'name' => '',
'ranked' => $ranked
'ranked' => $ranked,
'score' => $row['value']
));
++$ranked;
}