feat : rank

This commit is contained in:
2025-04-08 17:59:24 +08:00
parent 35abf99854
commit edb295cbe2
10 changed files with 495 additions and 0 deletions

View File

@@ -73,4 +73,15 @@ class ApiRedisKey
{
return 'lock:refund:user_id:'. $userId;
}
/**
* @param int $cityId
* @param int $type
* @param int $timeKey
* @return string
*/
public static function getLeaderboardByCityIdAndType(int $cityId, int $type, int $timeKey): string
{
return 'chef:leaderboard:city_id:'.$cityId.':type:'.$type.':time_key:'.$timeKey;
}
}