hsun 1 năm trước cách đây
mục cha
commit
98f95ab55a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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),