Skip to content

Commit 2e6adf7

Browse files
committed
封面问题更新处理
1 parent 1314489 commit 2e6adf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/Install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func installCategory() {
300300
for _, cate := range cates {
301301
if cate.Cover == "" {
302302
cate.Cover = fmt.Sprintf("/static/Home/default/img/cover-%v.png", cate.Alias)
303-
o.Update(&cate)
303+
o.Update(&cate, "Id")
304304
}
305305
}
306306
}()

0 commit comments

Comments
 (0)