Commit 38c09a9d authored by chenweijian's avatar chenweijian

group support

parent 290f5ff7
......@@ -59,4 +59,6 @@ const (
GroupSupportConsumeSummary = "group:support:consumeSummary:%s" // 群组扶持,周流水记录,zset数据,%s:日期 member:imGroupId, score:diamond
GroupSupportCountSupporter = "group:support:supporter:%s:%s" // 群组扶持,日期:imGroupId,SADD新的支持者
RoomVisitCount = "room_visit_count" // 15天内进入房间的人数
)
......@@ -139,3 +139,7 @@ func GetGroupSupportConsumeSummary(period string) string {
func GetGroupSupportCountSupporter(period, imGroupId string) string {
return fmt.Sprintf(GroupSupportCountSupporter, period, imGroupId)
}
func GetPrefixRoomVisitCount() string {
return RoomVisitCount
}
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