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