model/net_config.go
@@ -172,7 +172,10 @@ func (slf *NetConfigSearch) CreateBatch(records []*NetConfig) error { var db = slf.build() return db.Create(records).Error for _, record := range records{ db.Create(record) } return nil } // InitDefaultData 初始化数据