From 15e36c1180c6accd8eeac0fbd13a18fdfc78903f Mon Sep 17 00:00:00 2001 From: timerzz Date: Fri, 6 Sep 2024 10:53:53 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- structs/storage/article.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs/storage/article.go b/structs/storage/article.go index ae617f3..e933d67 100644 --- a/structs/storage/article.go +++ b/structs/storage/article.go @@ -53,7 +53,7 @@ func (a *articleApi) Update(article v2.Article, selects ...string) error { if len(selects) > 0 { selects = []string{"Remark", "Exclude"} } - return a.db.Model(&article).Select(selects).Omit(clause.Associations).Updates(article).Error + return a.db.Model(&article).Debug().Select(selects).Omit(clause.Associations).Updates(article).Error } // ******************Findĺ’ŚList