Commit 898a0b58 authored by chenweijian's avatar chenweijian

老用户召回

parent 443a860e
...@@ -64,4 +64,5 @@ const ( ...@@ -64,4 +64,5 @@ const (
GroupCountrySortList = "group:sortCountryList:%s" // 国家群组列表,%s:countryName GroupCountrySortList = "group:sortCountryList:%s" // 国家群组列表,%s:countryName
ActTemplateRanking = "act:ranking:%d:%d:%d" // 排行榜数据 活动id:排行榜类型:teamId ActTemplateRanking = "act:ranking:%d:%d:%d" // 排行榜数据 活动id:排行榜类型:teamId
ActOldUserAllCharge = "act:oldUser:%d:%d" // 老用户回归,领奖时的累充黄钻 活动id:userId
) )
...@@ -151,3 +151,7 @@ func GetGroupCountrySortList(country string) string { ...@@ -151,3 +151,7 @@ func GetGroupCountrySortList(country string) string {
func GetActTemplateRanking(actId, teamId uint64, rankType int) string { func GetActTemplateRanking(actId, teamId uint64, rankType int) string {
return fmt.Sprintf(ActTemplateRanking, actId, rankType, teamId) return fmt.Sprintf(ActTemplateRanking, actId, rankType, teamId)
} }
func GetActOldUserAllCharge(actId, userId uint64) string {
return fmt.Sprintf(ActOldUserAllCharge, actId, userId)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment