add
wangpengfei
2023-08-26 1bb2d1d1f4ed5cd0409d17180844b445bf63f213
initialize/gorm.go
@@ -3,13 +3,13 @@
import (
   "os"
   "github.com/flipped-aurora/gin-vue-admin/server/global"
   "github.com/flipped-aurora/gin-vue-admin/server/model/example"
   "github.com/flipped-aurora/gin-vue-admin/server/model/system"
   "srm/global"
   "srm/model/example"
   "srm/model/system"
   "github.com/flipped-aurora/gin-vue-admin/server/model/test"
   "go.uber.org/zap"
   "gorm.io/gorm"
   "srm/model/test"
)
func Gorm() *gorm.DB {
@@ -51,7 +51,7 @@
      example.ExaFile{},
      example.ExaCustomer{},
      example.ExaFileChunk{},
      example.ExaFileUploadAndDownload{}, test.Industry{},
      example.ExaFileUploadAndDownload{}, test.Industry{}, test.SupplierType{}, test.Supplier{}, test.Contract{},
   )
   if err != nil {
      global.GVA_LOG.Error("register table failed", zap.Error(err))