hsun 1 year ago
parent
commit
98f95ab55a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/db.go

+ 1 - 0
models/db.go

@@ -48,6 +48,7 @@ func init() {
 	//注册对象
 	orm.RegisterModel(
 		new(Classify),
+		new(Resource),
 		new(Ppt),
 		new(PptPages),
 		new(PptPublishRecord),