diff --git a/structs/storage/article.go b/structs/storage/article.go index a904918..ae617f3 100644 --- a/structs/storage/article.go +++ b/structs/storage/article.go @@ -51,7 +51,7 @@ func (a *articleApi) Upsert(article v2.Article) error { func (a *articleApi) Update(article v2.Article, selects ...string) error { if len(selects) > 0 { - selects = []string{"remark", "exclude"} + selects = []string{"Remark", "Exclude"} } return a.db.Model(&article).Select(selects).Omit(clause.Associations).Updates(article).Error }