From 4a2213c856bae15eff8a2a78f1204e24af74cd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 7 Dec 2022 13:49:27 +0800 Subject: [PATCH] 1 --- business/model/print_notice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/print_notice.go b/business/model/print_notice.go index 90c854408..c3e9cf1fb 100644 --- a/business/model/print_notice.go +++ b/business/model/print_notice.go @@ -8,7 +8,7 @@ type PrintNotice struct { CreatedAt time.Time `orm:"type(datetime)" json:"created_at" db:"created_at"` // 创建时间 UpdatedAt time.Time `orm:"type(datetime)" json:"updated_at" db:"updated_at"` // 更新时间 NoticeType int `orm:"type(int)" json:"notice_type" db:"notice_type"` // 类型(1-广告/2-通知) - Msg string `orm:"type(varchar);size(255)" json:"msg" db:"msg"` // 内容(广告就是图片,通知消息就是文字) + Msg string `orm:"type(text)" json:"msg" db:"msg"` // 内容(广告就是图片,通知消息就是文字) Link string `orm:"type(varchar);size(255)" json:"link" db:"link"` // 跳转地址 }