diff --git a/webapp/services/CircuitRankingService.php b/webapp/services/CircuitRankingService.php index 308361a1..ca4bcf4e 100644 --- a/webapp/services/CircuitRankingService.php +++ b/webapp/services/CircuitRankingService.php @@ -209,14 +209,17 @@ class CircuitRankingService extends BaseService { } } $sortRows = myself()->arraySort($data, 'cumulative_score', 'desc'); + /* { - for ($i = 0; $i < 200; ++$i) { - array_push($sortRows, array( - 'account_id' => $i, - 'cumulative_score' => 2000 - $i * 3 - )); + if (SERVER_ENV != _ONLINE) { + for ($i = 0; $i < 200; ++$i) { + array_push($sortRows, array( + 'account_id' => $i, + 'cumulative_score' => 2000 - $i * 3 + )); + } } - } + }*/ if (count($sortRows) <= 20) { myself()->_rspErr(1, '人数不足20'); return;