lrf402788946 4 lat temu
rodzic
commit
ca0a23ac9a
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      app/model/news.js
  2. 1 1
      app/model/view_point.js

+ 1 - 1
app/model/news.js

@@ -20,7 +20,7 @@ const news = {
   brief: { type: String, maxLength: 300 }, // 简介
   picture: { type: Object, required: false }, // 图片
   filepath: { type: Object, required: false }, // 附件
-  video: { type: String }, // 视频
+  video: { type: Object }, // 视频
   content: { type: String, required: false }, // 正文内容
   type: { type: String, required: false, maxLength: 200 }, // 类型,国家,科学院
   remark: { type: String, maxLength: 200 },

+ 1 - 1
app/model/view_point.js

@@ -14,7 +14,7 @@ const view_point = {
   money_url: { type: String }, // 收款图片
   picture: { type: Object }, // 图片
   filepath: { type: Object }, // 附件
-  video: { type: String }, // 视频
+  video: { type: Object }, // 视频
   content: { type: String }, // 正文内容
   remark: { type: String },
   create_time: { type: String }, // 创建时间