From 898a0b588a5af4281b71dc32c1368e2c109a5458 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Fri, 1 Sep 2023 17:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E7=94=A8=E6=88=B7=E5=8F=AC=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _const/rediskey/key.go | 1 + _const/rediskey/key_func.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/_const/rediskey/key.go b/_const/rediskey/key.go index fb0b067..157252a 100644 --- a/_const/rediskey/key.go +++ b/_const/rediskey/key.go @@ -64,4 +64,5 @@ const ( GroupCountrySortList = "group:sortCountryList:%s" // 国家群组列表,%s:countryName ActTemplateRanking = "act:ranking:%d:%d:%d" // 排行榜数据 活动id:排行榜类型:teamId + ActOldUserAllCharge = "act:oldUser:%d:%d" // 老用户回归,领奖时的累充黄钻 活动id:userId ) diff --git a/_const/rediskey/key_func.go b/_const/rediskey/key_func.go index d1fd769..724c0c0 100644 --- a/_const/rediskey/key_func.go +++ b/_const/rediskey/key_func.go @@ -151,3 +151,7 @@ func GetGroupCountrySortList(country string) string { func GetActTemplateRanking(actId, teamId uint64, rankType int) string { return fmt.Sprintf(ActTemplateRanking, actId, rankType, teamId) } + +func GetActOldUserAllCharge(actId, userId uint64) string { + return fmt.Sprintf(ActOldUserAllCharge, actId, userId) +} -- 2.22.0