feat 测试
This commit is contained in:
parent
2fc5434f95
commit
a44474b191
@ -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.Debug().Select(selects).Omit(clause.Associations).Updates(article).Error
|
||||
return a.db.Debug().Select(selects).Updates(article).Error
|
||||
}
|
||||
|
||||
// ******************Find和List
|
||||
|
Loading…
Reference in New Issue
Block a user