feat : rank
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user