1
This commit is contained in:
parent
368a9aae47
commit
25b836342c
@ -209,14 +209,17 @@ class CircuitRankingService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$sortRows = myself()->arraySort($data, 'cumulative_score', 'desc');
|
$sortRows = myself()->arraySort($data, 'cumulative_score', 'desc');
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
for ($i = 0; $i < 200; ++$i) {
|
if (SERVER_ENV != _ONLINE) {
|
||||||
array_push($sortRows, array(
|
for ($i = 0; $i < 200; ++$i) {
|
||||||
'account_id' => $i,
|
array_push($sortRows, array(
|
||||||
'cumulative_score' => 2000 - $i * 3
|
'account_id' => $i,
|
||||||
));
|
'cumulative_score' => 2000 - $i * 3
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
if (count($sortRows) <= 20) {
|
if (count($sortRows) <= 20) {
|
||||||
myself()->_rspErr(1, '人数不足20');
|
myself()->_rspErr(1, '人数不足20');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user