feat : rank

This commit is contained in:
2025-04-09 09:40:05 +08:00
parent edb295cbe2
commit 8c284937ac
6 changed files with 163 additions and 7 deletions

View File

@@ -84,4 +84,13 @@ class ApiRedisKey
{
return 'chef:leaderboard:city_id:'.$cityId.':type:'.$type.':time_key:'.$timeKey;
}
/**
* @param int $chefId
* @return string
*/
public static function chefEvaluationKey(int $chefId): string
{
return 'evaluation:chef:id:'.$chefId;
}
}