feat : rank
This commit is contained in:
@@ -82,7 +82,7 @@ class GetLeaderboardService extends BaseService
|
||||
$v = 4 + 1 - exp(-2 * $normalized);
|
||||
}
|
||||
|
||||
$v = round($v,2);
|
||||
$v = round($v,1);
|
||||
}
|
||||
|
||||
$this->redis->zAdd($redisKey,$v,$k);
|
||||
|
||||
Reference in New Issue
Block a user