From c81b4c309abb04d98c3a358596701c5b16ea523f Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 14:04:39 +0800 Subject: [PATCH] fix --- server/info/internal/logic/infologic.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"` }