pull/218/head v2.0.9
wangchuxiao 3 years ago
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…
Cancel
Save