This commit is contained in:
aozhiwei 2022-05-14 10:35:40 +08:00
parent 128bc16dca
commit 8694262baf

View File

@ -119,11 +119,12 @@ class RankingController extends BaseAuthedController {
if ($user) {
if ($user['account_id'] == $myRanked['user']['account_id']) {
$myRanked['ranked'] = $ranked;
$myRanked['value'] = $row['value'];
}
array_push($rankingList, array(
'ranked' => $ranked++,
'user' => User::toSimple($user),
'value' => 0
'value' => $row['value']
));
}
}