This commit is contained in:
aozhiwei 2024-11-09 14:45:48 +08:00
parent 377dd51fa8
commit 368a9aae47

View File

@ -213,7 +213,7 @@ class CircuitRankingService extends BaseService {
for ($i = 0; $i < 200; ++$i) {
array_push($sortRows, array(
'account_id' => $i,
'cumulative_score' => 1000 - $i
'cumulative_score' => 2000 - $i * 3
));
}
}
@ -286,7 +286,7 @@ class CircuitRankingService extends BaseService {
),
array(
'cumulative_score' => function() use($android, $newScore) {
$addScore = $android['cumulative_score'] - $newScore;
$addScore = $newScore - $android['cumulative_score'];
return 'cumulative_score +' . $addScore;
},
),