Commit 39078600 authored by hujiebin's avatar hujiebin Committed by chenweijian

init

parent f6b37857
...@@ -14,6 +14,10 @@ import ( ...@@ -14,6 +14,10 @@ import (
"time" "time"
) )
func init() {
group_m.FuncAddEditGroupCd = AddEditGroupCd
}
func GetGroupMemberCount(groupId string) (int, error) { func GetGroupMemberCount(groupId string) (int, error) {
key := redis_key.GetGroupMemCountKey(groupId) key := redis_key.GetGroupMemCountKey(groupId)
return redisCli.RedisClient.Get(context.Background(), key).Int() return redisCli.RedisClient.Get(context.Background(), key).Int()
......
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