From 5852896a325997e38bcdb82dee1376ef9cdc0243 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/visual/entity/screen.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/visual/entity/screen.go b/apps/visual/entity/screen.go index 273d85d..5c2b9d9 100644 --- a/apps/visual/entity/screen.go +++ b/apps/visual/entity/screen.go @@ -27,9 +27,9 @@ type VisualScreen struct { ScreenId string `gorm:"primary_key;" json:"screenId"` GroupId int64 `gorm:"screenGroup;type:int;comment:分组Id" json:"groupId"` ScreenName string `gorm:"screenName;type:varchar(50);comment:名称" json:"screenName"` - ScreenDataJson string `gorm:"screenDataJson;type:varchar(50);comment:Json数据" json:"screenDataJson"` - ScreenBase64 string `gorm:"screenBase64;type:varchar(50);comment:Base64缩略图" json:"screenBase64"` //缩略图 base64 - ScreenRemark string `gorm:"screenRemark;type:varchar(50);comment:说明" json:"screenRemark"` + ScreenDataJson string `gorm:"screenDataJson;type:text;comment:Json数据" json:"screenDataJson"` + ScreenBase64 string `gorm:"screenBase64;type:text;comment:Base64缩略图" json:"screenBase64"` //缩略图 base64 + ScreenRemark string `gorm:"screenRemark;type:varchar(255);comment:说明" json:"screenRemark"` Status string `gorm:"status;type:varchar(1);comment:状态" json:"status"` Creator string `json:"creator"` //创建者 model.BaseModel