pull/218/head
wangchuxiao 3 years ago
parent 91e03f7cfd
commit 47cb54461f

@ -230,6 +230,6 @@ func GetAllGroupIDList() ([]string, error) {
return nil, err
}
var groupIDList []string
err = dbConn.Model(&db.Group{}).Pluck("group_id", &groupIDList).Error
err = dbConn.Model("groups").Pluck("group_id", &groupIDList).Error
return groupIDList, err
}

Loading…
Cancel
Save