diff --git a/server/info/internal/logic/infologic.go b/server/info/internal/logic/infologic.go index 794dcbae..93d63b43 100644 --- a/server/info/internal/logic/infologic.go +++ b/server/info/internal/logic/infologic.go @@ -42,9 +42,9 @@ var ModuleTable map[string]string = map[string]string{ } type InfoType struct { - Id int64 `json:"id"` - Module string `json:"module"` - QueryData string `json:"querydata"` + Id int64 `gorm:"id"` + Module string `gorm:"module"` + QueryData string `gorm:"querydata"` // CreateAt time.Time `json:"ctime"` }