This commit is contained in:
wangchuxiao
2023-01-28 15:55:04 +08:00
parent 19ae659e44
commit c90d4330df
5 changed files with 125 additions and 116 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ type Group struct {
func NewGroupDB(db *gorm.DB) *Group {
var group Group
group.DB = db
group.DB = db.Model(&Group{})
return &group
}