diff --git a/_const/rediskey/key.go b/_const/rediskey/key.go index fb0b067368e3b9f7adc6155a7f51a99231201c32..157252ad8c74cf794feb4dff322b36856f4bcc9c 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 d1fd769c7f8347261e0726a1bcba833455a77761..724c0c09a44f54029e974b2db6e54e11074694b2 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) +}