Commit dda31abb authored by chenweijian's avatar chenweijian

sort country grou

parent d995662b
...@@ -61,4 +61,6 @@ const ( ...@@ -61,4 +61,6 @@ const (
GroupSupportCountSupporter = "group:support:supporter:%s:%s" // 群组扶持,日期:imGroupId,SADD新的支持者 GroupSupportCountSupporter = "group:support:supporter:%s:%s" // 群组扶持,日期:imGroupId,SADD新的支持者
RoomVisitCount = "room_visit_count" // 15天内进入房间的人数 RoomVisitCount = "room_visit_count" // 15天内进入房间的人数
GroupCountrySortList = "group:sortCountryList:%s" // 国家群组列表,%s:countryName
) )
...@@ -143,3 +143,7 @@ func GetGroupSupportCountSupporter(period, imGroupId string) string { ...@@ -143,3 +143,7 @@ func GetGroupSupportCountSupporter(period, imGroupId string) string {
func GetPrefixRoomVisitCount() string { func GetPrefixRoomVisitCount() string {
return RoomVisitCount return RoomVisitCount
} }
func GetGroupCountrySortList(country string) string {
return fmt.Sprintf(GroupCountrySortList, country)
}
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