1
This commit is contained in:
parent
377dd51fa8
commit
368a9aae47
@ -213,7 +213,7 @@ class CircuitRankingService extends BaseService {
|
|||||||
for ($i = 0; $i < 200; ++$i) {
|
for ($i = 0; $i < 200; ++$i) {
|
||||||
array_push($sortRows, array(
|
array_push($sortRows, array(
|
||||||
'account_id' => $i,
|
'account_id' => $i,
|
||||||
'cumulative_score' => 1000 - $i
|
'cumulative_score' => 2000 - $i * 3
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -286,7 +286,7 @@ class CircuitRankingService extends BaseService {
|
|||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'cumulative_score' => function() use($android, $newScore) {
|
'cumulative_score' => function() use($android, $newScore) {
|
||||||
$addScore = $android['cumulative_score'] - $newScore;
|
$addScore = $newScore - $android['cumulative_score'];
|
||||||
return 'cumulative_score +' . $addScore;
|
return 'cumulative_score +' . $addScore;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user