1
This commit is contained in:
parent
506897fceb
commit
aac0848eb6
@ -65,15 +65,16 @@ class RankingController extends BaseAuthedController {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
$myRanked = array();
|
$myRanked = array(
|
||||||
|
'ranked' => -1,
|
||||||
|
'user' => $this->_extractUserInfo($userInfo),
|
||||||
|
'value' => 0,
|
||||||
|
'modifytime' => 0,
|
||||||
|
);
|
||||||
$row = RankBattle::find($type);
|
$row = RankBattle::find($type);
|
||||||
if ($row){
|
if ($row){
|
||||||
$myRanked = array(
|
$myRanked['value'] = $row['value'];
|
||||||
'ranked' => -1,
|
$myRanked['modifytime'] = $row['modifytime'];
|
||||||
'user' => $this->_extractUserInfo($userInfo),
|
|
||||||
'value' => $row['value'],
|
|
||||||
'modifytime' => $row['modifytime'],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$lists = RankBattle::getTopLimit($type,10000,array('account_id'));
|
$lists = RankBattle::getTopLimit($type,10000,array('account_id'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user