mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-07 11:40:01 +08:00
cache
This commit is contained in:
parent
47cb54461f
commit
f1dbec122a
@ -230,6 +230,6 @@ func GetAllGroupIDList() ([]string, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
var groupIDList []string
|
var groupIDList []string
|
||||||
err = dbConn.Model("groups").Pluck("group_id", &groupIDList).Error
|
err = dbConn.Table("groups").Pluck("group_id", &groupIDList).Error
|
||||||
return groupIDList, err
|
return groupIDList, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user