mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-29 13:46:40 +08:00
Error code standardization
This commit is contained in:
parent
87d0e296c1
commit
e31d162870
@ -19,7 +19,6 @@ type GroupModel struct {
|
||||
mongo *mongo.Client
|
||||
}
|
||||
|
||||
|
||||
func NewGroupModel() {
|
||||
var groupModel GroupModel
|
||||
redisClient := cache.InitRedis()
|
||||
@ -29,7 +28,6 @@ func NewGroupModel() {
|
||||
}
|
||||
|
||||
func (g *GroupModel) Find(ctx context.Context, groupIDs []string) (groups []*mysql.Group, err error) {
|
||||
g.cache.Client.
|
||||
for _, groupID := range groupIDs {
|
||||
group, err := g.getGroupInfoFromCache(ctx, groupID)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user