From c4888d98442e67452742c95efd97c5a80d413dd5 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Tue, 29 Aug 2023 18:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _const/rediskey/key.go | 2 +- _const/rediskey/key_func.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_const/rediskey/key.go b/_const/rediskey/key.go index 6afdab6..fb0b067 100644 --- a/_const/rediskey/key.go +++ b/_const/rediskey/key.go @@ -63,5 +63,5 @@ const ( RoomVisitCount = "room_visit_count" // 15天内进入房间的人数 GroupCountrySortList = "group:sortCountryList:%s" // 国家群组列表,%s:countryName - ActTemplateRanking = "act:ranking:%d:%d" // 排行榜数据 活动id:排行榜类型 + ActTemplateRanking = "act:ranking:%d:%d:%d" // 排行榜数据 活动id:排行榜类型:teamId ) diff --git a/_const/rediskey/key_func.go b/_const/rediskey/key_func.go index ec2b0af..623fe9d 100644 --- a/_const/rediskey/key_func.go +++ b/_const/rediskey/key_func.go @@ -148,6 +148,6 @@ func GetGroupCountrySortList(country string) string { return fmt.Sprintf(GroupCountrySortList, country) } -func GetActTemplateRanking(actId uint64, rankType int) string { - return fmt.Sprintf(ActTemplateRanking, actId, rankType) +func GetActTemplateRanking(actId uint64, rankType, teamId int) string { + return fmt.Sprintf(ActTemplateRanking, actId, rankType, teamId) } -- 2.22.0