guhongwei 4 年之前
父节点
当前提交
e401197fa8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/model/dock/dock_imgtxt.js

+ 2 - 2
app/model/dock/dock_imgtxt.js

@@ -7,8 +7,8 @@ const { ObjectId } = require('mongoose').Types;
 const dock_imgtxt = {
   dock_id: { type: ObjectId, required: true }, // 展会id
   content: { type: String }, // 信息内容
-  img_url: { type: String }, // 图片
-  file_url: { type: String }, // 视频地址
+  img_url: { type: Array }, // 图片
+  file_url: { type: Array }, // 视频地址
   user_id: { type: ObjectId }, // 创建人
   remark: { type: String },
 };