修改排位结算
This commit is contained in:
parent
3ae1b15bb8
commit
f28a7b8d5e
@ -170,11 +170,13 @@ class SeasonController extends BaseAuthedController {
|
||||
public function getSeasonPoint(){
|
||||
$list = array();
|
||||
SeasonRanking::getSeasonList(function ($row) use (&$list) {
|
||||
if ($row['ranking_point'] > 0){
|
||||
array_push($list,array(
|
||||
'season' => $row['season'],
|
||||
'ranking' => $row['ranking'],
|
||||
'ranking_point' => $row['ranking_point'],
|
||||
));
|
||||
}
|
||||
});
|
||||
$this->_rspData(array(
|
||||
'data' => $list,
|
||||
|
Loading…
x
Reference in New Issue
Block a user