This commit is contained in:
wangchuxiao 2022-04-29 18:59:08 +08:00
parent 47cb54461f
commit f1dbec122a

View File

@ -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
}